$burning

From Valve Developer Community
Revision as of 00:33, 9 April 2023 by Lxm6 (talk | contribs)
Jump to navigation Jump to search
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>