Difference between revisions of "$notint"

From Valve Developer Community
Jump to: navigation, search
m (Added note about Insurgency and Day of Infamy not having $notint.)
Line 3: Line 3:
  
 
{{note|This parameter exists as [[$allowdiffusemodulation]] in other games.}}
 
{{note|This parameter exists as [[$allowdiffusemodulation]] in other games.}}
 +
{{note|In {{insurgency}}{{doi}}, this parameter does not exist, [[$allowdiffusemodulation]] will need to be used instead.}}
 
==Syntax==
 
==Syntax==
 
     $notint            <[[bool]]>
 
     $notint            <[[bool]]>
  
 
[[Category:List of Shader Parameters|N]]
 
[[Category:List of Shader Parameters|N]]

Revision as of 15:52, 23 April 2019

Parameter notint.jpg

$notint is a VMT command introduced in Counter-Strike: Global Offensive 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.png Note: This parameter exists as $allowdiffusemodulation in other games.
Note.png Note: In InsurgencyDay of Infamy, this parameter does not exist, $allowdiffusemodulation will need to be used instead.

Syntax

   $notint             <bool>