Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.

$receiveflashlight

From Valve Developer Community
Jump to: navigation, search

$receiveflashlight is a material shader parameter available in all Source Source games. Allow the player's flashlight to illuminate the material.

Compatible Shaders

VMT Syntax and Examples

$receiveflashlight <bool>
UnlitGeneric
{
	$basetexture glass\window001a
	$receiveflashlight 1
}