$notint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 7: Line 7:
  '''$notint <[[Boolean|bool]]>'''
  '''$notint <[[Boolean|bool]]>'''


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

Revision as of 10:02, 15 August 2023

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

$notint is a material shader parameter available in Counter-Strike: Global Offensive 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.

Syntax

$notint	<bool>