$receiveflashlight: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
|  (Removed redirect to UnlitGeneric) Tag: Removed redirect | m (Replacing with "This is a" template) | ||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| {{ | {{This is a|shader parameter|name=$receiveflashlight}} It allows the player's flashlight to illuminate the material. | ||
| ==Compatible Shaders== | ==Compatible Shaders== | ||
| * [[UnlitGeneric]] | * [[UnlitGeneric]] | ||
| Line 15: | Line 14: | ||
| [[Category: | [[Category:Shader parameters|r]] | ||
Latest revision as of 10:09, 10 August 2024
$receiveflashlight  is a   material shader parameter  available in all  Source games. It allows the player's flashlight to illuminate the material.
 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 }
