$notint: Difference between revisions
Jump to navigation
Jump to search
Note:This parameter exists as $allowdiffusemodulation in other games.
Deprecated (talk | contribs) m (Unified syntax with $allowdiffusemodulation) |
Deprecated (talk | contribs) (Changed to use shaderparam template, misc fixes) |
||
Line 1: | Line 1: | ||
[[File:Parameter_notint.jpg|240px|thumb|right]] | [[File:Parameter_notint.jpg|240px|thumb|right]] | ||
{{Shaderparam|$notint|since=Counter-Strike: Global Offensive|shader1=VertexLitGeneric}} It 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 | {{note|This parameter exists as {{ent|$allowdiffusemodulation}} in other games.}} | ||
{{note|In {{insurgency}}{{doi}}, this parameter does not exist, | {{note|In {{insurgency}}{{doi}}, this parameter does not exist, so <code>$allowdiffusemodulation</code> 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 13:06, 9 June 2019
Template:Shaderparam It 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.

Syntax
$notint <bool>