$burning: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(small reformatting)
m (Nesciuse moved page $burning/en to $burning without leaving a redirect: Move en subpage to basepage)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<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%.
{{LanguageBar|title = $burning}}
{{Orphan|date=January 2024}}
 
 
'''<code style="color:white">$burning</code>''' is a [[material]] [[shader]] parameter available in the {{l4d}} and {{l4d2}}. It covers the <code>[[$basetexture]]</code> with a <code>$burndetailtexture</code>, 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 <code>$burndetailtexture</code> up to 100%.


{{todo|Check for more games that have $burning.}}
{{todo|Check for more games that have $burning.}}


== Syntax==
==Syntax==
<pre>
'''$burning <[[Boolean|bool]]>'''
$burning bool
 
</pre>
[[Category:Shader parameters|burning]]
 
 
{{stub}}

Latest revision as of 03:06, 12 July 2024

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>


Stub

This article or section is a stub. You can help by expanding it.