UnlitGeneric: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) No edit summary |
TomEdwards (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
'''<code>UnlitGeneric</code>''' draws an [[albedo]] without | '''<code>UnlitGeneric</code>''' draws an [[albedo]] without standard lighting passes. It is used for things like UI images, pure white, and pitch blackness, but also in situations when software lighting is used (like on [[detail prop]]s). It accepts only the most rudimentary of VMT commands. | ||
{{note|If this shader is being used on a [[model]], you must specify <code>[[$model]] 1</code>.}} | {{note|If this shader is being used on a [[model]], you must specify <code>[[$model]] 1</code>.}} | ||
Line 6: | Line 6: | ||
; <code>$receiveflashlight 1</code> | ; <code>$receiveflashlight 1</code> | ||
: Allow the player's flashlight to illuminate the material | : Allow the player's flashlight to illuminate the material. | ||
== Supported effects == | == Supported effects == |
Revision as of 10:50, 15 February 2010
UnlitGeneric
draws an albedo without standard lighting passes. It is used for things like UI images, pure white, and pitch blackness, but also in situations when software lighting is used (like on detail props). It accepts only the most rudimentary of VMT commands.
Parameters
$receiveflashlight 1
- Allow the player's flashlight to illuminate the material.