$burning: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 7: Line 7:
  '''$burning <[[Boolean|bool]]>'''
  '''$burning <[[Boolean|bool]]>'''


[[Category:List of Shader Parameters|B]]
[[Category:Shader parameters|b]]

Revision as of 09:41, 15 August 2023

English (en)Translate (Translate)

$burning is a material shader parameter available in the Left 4 Dead and Left 4 Dead 2. It covers the $basetexture with a $burndetailtexture, to give the illusion that the model has been injured by fire. It does this by switching the clean version of the texture to a different .vmt with a "_burning" prefix, which slowly increases the opacity of the $burndetailtexture up to 100%.

Todo: Check for more games that have $burning.

Syntax

$burning	<bool>