$selfillum: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(30 intermediate revisions by 12 users not shown)
Line 1: Line 1:
The [[$selfillum]] [[VMT command]] uses the [[alpha channel]] of the [[$basetexture]] to set minumum clamps on the lighting, making it seem like the material glows in the dark.
#redirect [[Glowing textures (Source)#$selfillum]]
* For the texture's alpha channel, a value of ''255'' means 100% self-illumination, while an alpha value of ''0'' means 0% self-illumination.
[[Category:Shader parameters|s]]
"[[LightmappedGeneric]]"
{
    "[[$basetexture]]" "props/tvscreen005a"
    "[[$selfillum]]" "1"
    "[[$surfaceprop]]" "glass"
}
 
==$selfillumtint==
The [[$selfillumtint]] [[VMT command]] is used to adjust the color of [[$selfillum]].
"$selfillumtint" {{todo|values?}}

Latest revision as of 10:05, 15 August 2023