$burning: Difference between revisions
Jump to navigation
Jump to search

No edit summary |
(Preparing page for move. This action was perfomed by a bot under supervision.) |
||
Line 1: | Line 1: | ||
{{ | {{langsp|title=$burning}} | ||
'''<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%. | '''<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%. | ||
Line 6: | Line 6: | ||
==Syntax== | ==Syntax== | ||
'''$burning <[[Boolean|bool]]>''' | '''$burning <[[Boolean|bool]]>''' | ||
Revision as of 13:38, 9 January 2024


$burning
is a material shader parameter available in the and
. 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>