UnlitGeneric: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:


{{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>.}}
== Parameters ==
; <code>$receiveflashlight 1</code>
: Allow the player's flashlight to illuminate the material. Used on [[detail prop]]s.


== Supported effects ==
== Supported effects ==

Revision as of 15:14, 11 November 2009

UnlitGeneric draws an albedo without any lighting (e.g. a menu background or pitch blackness). It accepts only the most rudimentary of VMT commands.

Note.pngNote:If this shader is being used on a model, you must specify $model 1.

Parameters

$receiveflashlight 1
Allow the player's flashlight to illuminate the material. Used on detail props.

Supported effects