$receiveflashlight: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(rm from category)
(Removed redirect to UnlitGeneric)
Tag: Removed redirect
Line 1: Line 1:
#redirect [[UnlitGeneric]]
{{Shaderparam|$receiveflashlight}} Allow the player's flashlight to illuminate the material.
 
==Compatible Shaders==
* [[UnlitGeneric]]
 
==VMT Syntax and Examples==
 
$receiveflashlight <[[bool]]>
 
[[UnlitGeneric]]
{
[[$basetexture]] glass\window001a
'''$receiveflashlight 1'''
}
 
 
[[Category:List of Shader Parameters|N]]

Revision as of 04:37, 16 October 2021

Template:Shaderparam Allow the player's flashlight to illuminate the material.

Compatible Shaders

VMT Syntax and Examples

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