$selfillum: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
The [[$selfillumtint]] [[VMT command]] is used to adjust the color of [[$selfillum]]. | The [[$selfillumtint]] [[VMT command]] is used to adjust the color of [[$selfillum]]. | ||
"$selfillumtint" {{todo|values?}} | "$selfillumtint" {{todo|values?}} | ||
[[Category:List of Shader Parameters]] | |||
[[Category:VMT Lighting]] |
Revision as of 20:10, 4 April 2008
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.
- For the texture's alpha channel, a value of 255 means 100% self-illumination, while an alpha value of 0 means 0% self-illumination.
"LightmappedGeneric" { "$basetexture" "props/tvscreen005a" "$selfillum" "1" "$surfaceprop" "glass" }
$selfillumtint
The $selfillumtint VMT command is used to adjust the color of $selfillum.
"$selfillumtint"
Todo: values?