$burning: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(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...")
 
(small reformatting)
Line 1: Line 1:
[[$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://developer.valvesoftware.com/wiki/$basetexture $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%.
<code>$burning</code> is a material shader parameter available in the {{l4ds}}Left 4 Dead series. 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]]
{{todo|Check for more games that have $burning.}}


== Syntax==
== Syntax==

Revision as of 23:14, 16 August 2020

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