$notint: Difference between revisions
Jump to navigation
Jump to search
Note:This parameter exists as
(also in
).
SirYodaJedi (talk | contribs) No edit summary |
SirYodaJedi (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
'''<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. | ||
{{note|This parameter exists as <code>[[$allowdiffusemodulation]]</code> in other games since {{l4d}}{{also|mapbase}}.}} | {{note|This parameter exists as <code>[[$allowdiffusemodulation]]</code> in other games since {{l4d}}{{also|{{mapbase}}}}.}} | ||
==Syntax== | ==Syntax== | ||
'''$notint <[[Boolean|bool]]>''' | '''$notint <[[Boolean|bool]]>''' | ||
[[Category:Shader parameters|notint]] | [[Category:Shader parameters|notint]] |
Revision as of 15:58, 22 March 2025
$notint
is a material shader parameter available in and
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.

$allowdiffusemodulation
in other games since 

Syntax
$notint <bool>