$notint

From Valve Developer Community
Revision as of 13:06, 9 June 2019 by Deprecated (talk | contribs) (Changed to use shaderparam template, misc fixes)
Jump to navigation Jump to search
Parameter notint.jpg

Template:Shaderparam 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.
Note.pngNote:In InsurgencyDay of Infamy, this parameter does not exist, so $allowdiffusemodulation will need to be used instead.

Syntax

$notint <bool>