This article's documentation is for anything that uses the Source engine. Click here for more information.

$receiveflashlight

From Valve Developer Community
Jump to: navigation, search

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

Compatible Shaders

VMT Syntax and Examples

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