$burning: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:
==Syntax==
==Syntax==
  '''$burning <[[Boolean|bool]]>'''
  '''$burning <[[Boolean|bool]]>'''
[[Category:List of Shader Parameters|B]]
[[Category:List of Shader Parameters|B]]
[[Category:Glossary]]

Revision as of 00:33, 9 April 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>