$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
}