$notint

From Valve Developer Community
Revision as of 20:06, 9 June 2019 by Deprecated (talk | contribs) (Changed to use shaderparam template, misc fixes)

Jump to: navigation, search
Parameter notint.jpg

$notint is a material shader parameter available in all Source games since <Counter-Strike: Global Offensive> Counter-Strike: Global Offensive 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:This parameter exists as $allowdiffusemodulation in other games.
Note:In <Insurgency><Day of Infamy>, this parameter does not exist, so $allowdiffusemodulation will need to be used instead.

Syntax

$notint <bool>