$notint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added note about Insurgency and Day of Infamy not having $notint.)
m (Unified syntax with $allowdiffusemodulation)
Line 1: Line 1:
[[File:Parameter_notint.jpg|240px|thumb|right]]
[[File:Parameter_notint.jpg|240px|thumb|right]]
'''$notint''' is a [[VMT]] command introduced in {{csgo}} that 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>$notint</code>''' is a [[VMT]] command introduced in {{csgo}} 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 [[$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.}}
{{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 20:08, 24 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.pngNote:This parameter exists as $allowdiffusemodulation in other games.
Note.pngNote:In InsurgencyDay of Infamy, this parameter does not exist, $allowdiffusemodulation will need to be used instead.

Syntax

$notint <bool>