UnlitGeneric

From Valve Developer Community
Revision as of 10:50, 15 February 2010 by TomEdwards (talk | contribs)
Jump to navigation Jump to search

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.

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.

Supported effects