$notint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Preparing page for move. This action was perfomed by a bot under supervision.)
Line 1: Line 1:
{{lang|$notint|$title=$notint}}
{{langsp|title=$notint}}
 
[[File:Parameter_notint.jpg|240px|thumb|right|Parameter $notint]]
[[File:Parameter_notint.jpg|240px|thumb|right|Parameter $notint]]
'''<code style="color:white">$notint</code>''' is a [[material]] [[shader]] parameter available in {{csgo}} 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.
'''<code style="color:white">$notint</code>''' is a [[material]] [[shader]] parameter available in {{csgo}} 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.
Line 6: Line 7:
==Syntax==
==Syntax==
  '''$notint <[[Boolean|bool]]>'''
  '''$notint <[[Boolean|bool]]>'''
[[Category:Shader parameters|n]]

Revision as of 14:24, 11 January 2024

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>