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

$receiveflashlight

From Valve Developer Community
Revision as of 10:09, 10 August 2024 by N0one (talk | contribs) (Replacing with "This is a" template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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
}