UnlitGeneric: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) No edit summary |
ThaiGrocer (talk | contribs) m (→Parameters) |
||
Line 7: | Line 7: | ||
; <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. | ||
; <code>$singlepassflashlight 1</code> | |||
: Possibly is used to allow shadows to form from this decal. For example, found in L4D2 decals/detail/ruraldetailsprites.vmt {{todo|confirm.}} | |||
== Supported effects == | == Supported effects == |
Revision as of 12:21, 28 September 2011
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.
$singlepassflashlight 1
- Possibly is used to allow shadows to form from this decal. For example, found in L4D2 decals/detail/ruraldetailsprites.vmt Todo: confirm.