
Mask values below 1.0 apply a minimum brightness effect to the surface, while still allowing it to receive light from the environment. The surface will ignore all light from the environment and appear fullbright. With an opaque mask, $selfillum effectively works like UnlitGeneric. If the alpha channel of your base texture is used for something else, you can specify a separate $selfillummask texture. LightmappedGenericīy default, $selfillum uses the alpha channel of the base texture as a mask. Selfillum only works with $normalmap, but $phong only works with $bumpmap, therefore making Phong and Selfillum mutually exclusive by proxy. Warning: Selfillum does not work with $phong. The file is processed line-by-line each line is simply the name of the texture, the RGB value of the light, and then the brightness of the light.Ĭommon selfillum textures can be found in White. RAD files are the only form of glowing textures that generate any map light. rad file, mainly used for glowing textures on brushes.
Using the Minimum Light Level entity keyvalue.
Using info_lighting to "fool" a model into "thinking" it is brightly illuminated.įor glowing textures on brush faces only:. UnlitGeneric shader, specified in a material's VMT - Does not emit light, forces face to ignore all lighting, making it fullbright. Also compatible with Transparency, can be animated via flowtexture like water. $emissiveblend parameter, specified in a material's VMT. $detail parameter with $detailblendmode value of 5 or 6, specified in a material's VMT - Same as $selfillum, but more rudimentary and compatible with transparency. Use this for most purposes, not compatible with transparency. $selfillum parameter, specified in a material's VMT. There are several different ways to create this effect available in the Source engine.įor glowing textures on models or brush faces: The face achieves what is called fullbright, where the texture's pixels appear exactly the same color as they were saved. This is a key feature as a "glowing" black stays black and does not get brighter. This does not mean that the surface will appear pure white, just that the face will ignore any light it would receive. It can create its own lightmap independent of all lighting sources and may even create light itself.
A glowing texture is one that does not require another form of light to be lit up.