$burning

From Valve Developer Community
Revision as of 19:21, 16 August 2020 by Skessler (talk | contribs) (Created page with "$burning is a material shader parameter available in Left 4 Dead 1 and [https://developer.valvesoftware.com/wiki/Left_4_Dead_2 Left 4 Dead 2]. It covers the [https://devel...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

$burning is a material shader parameter available in Left 4 Dead 1 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%.

To do: Check for more games that have $burning

Syntax

$burning bool