$selfillum: Difference between revisions
Jump to navigation
Jump to search
Russian box (talk | contribs) m (→See Also: more links) |
TomEdwards (talk | contribs) m (reminder for later) |
||
Line 16: | Line 16: | ||
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?}} | ||
{{todo|$selfillummask}} | |||
==See Also== | ==See Also== |
Revision as of 01:39, 13 July 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.
- Alternatively, for Dx9 only, see $selfillum_envmapmask_alpha to use the alpha channel of the $envmapmask VTF for the luminosity map.
- For the texture's alpha channel, a value of 255 means 100% self-illumination, while an alpha value of 0 means 0% self-illumination.
VMT syntax example
"LightmappedGeneric" { "$basetexture" "props/tvscreen005a" "$selfillum" "1" "$surfaceprop" "glass" }
Additional Parameters
$selfillumtint
The $selfillumtint VMT command is used to adjust the color of $selfillum.
"$selfillumtint"
Todo: values?
Todo: $selfillummask
See Also
- $selfillum_envmapmask_alpha
- $basetexture
- $envmapmask (specular mask)
- $envmap (environment map)
- $phong (diffuse reflection)