$notint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Changed to use shaderparam template, misc fixes)
(also in gmod)
 
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[[File:Parameter_notint.jpg|240px|thumb|right]]
{{LanguageBar|title = $notint}}
{{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.
[[File:Parameter_notint.jpg|240px|thumb|right|Parameter $notint]]
'''<code style="color:white">$notint</code>''' is a [[material]] [[shader]] parameter available in {{csgo}}, {{gmod}}, and {{P2CE}} for <code>[[VertexLitGeneric]]</code>. 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 {{ent|$allowdiffusemodulation}} in other games.}}
{{note|This parameter exists as <code>[[$allowdiffusemodulation]]</code> in other games since {{l4d}}{{also|{{mapbase}}}}.}}
{{note|In {{insurgency}}{{doi}}, this parameter does not exist, so <code>$allowdiffusemodulation</code> will need to be used instead.}}
==Syntax==
==Syntax==
  $notint <[[bool]]>
  '''$notint <[[Boolean|bool]]>'''


[[Category:List of Shader Parameters|N]]
[[Category:Shader parameters|notint]]

Latest revision as of 02:14, 15 June 2025

English (en)Русский (ru)Translate (Translate)
Parameter $notint

$notint is a material shader parameter available in Counter-Strike: Global Offensive, Garry's Mod, and Portal 2: Community Edition for VertexLitGeneric. 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.

Note.pngNote:This parameter exists as $allowdiffusemodulation in other games since Left 4 Dead(also in Mapbase).

Syntax

$notint	<bool>