Difference between revisions of "$allowdiffusemodulation"

From Valve Developer Community
Jump to: navigation, search
(Added engine branch information, unified text with $notint)
Line 1: Line 1:
The <code>[[$allowdiffusemodulation]]</code> [[VMT]] command prevents a material from being tinted by either [[$color#Models|$color2]] or the  <code>rendercolor</code> parameter. This is useful for situations where you have a model made up of multiple materials, some which you might want tint-able and some not.
+
'''<code>[[$allowdiffusemodulation]]</code>''' is a [[VMT]] command introduced in {{l4d}} that prevents a material from being tinted by either <code>[[$color#Models|$color2]]</code> or the  <code>rendercolor</code> parameter. This is useful for situations where you have a model made up of multiple materials, some which you might want tint-able and some not.
  
 
{{note|This parameter exists as [[$notint]] in {{csgo}}.}}
 
{{note|This parameter exists as [[$notint]] in {{csgo}}.}}

Revision as of 03:08, 25 April 2019

$allowdiffusemodulation is a VMT command introduced in <Left 4 Dead> that prevents a material from being tinted by either $color2 or the rendercolor parameter. This is useful for situations where you have a model made up of multiple materials, some which you might want tint-able and some not.

Note:This parameter exists as $notint in <Counter-Strike: Global Offensive>.

Syntax

$allowdiffusemodulation <bool>