$notint

From Valve Developer Community
Revision as of 02:14, 15 June 2025 by Vizzys (talk | contribs) (also in gmod)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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>