$allowdiffusemodulation

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

$allowdiffusemodulation is a material shader parameter available in all Source games since <Left 4 Dead> Left 4 Dead 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 $notint in <Counter-Strike: Global Offensive>.

Syntax

$allowdiffusemodulation <bool>