$allowdiffusemodulation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{Page|1}}
{{LanguageBar}}


{{Stub}}
{{Stub}}

Revision as of 17:59, 9 August 2024

English (en)Русский (ru)Translate (Translate)

Stub

This article or section is a stub. You can help by expanding it.

$allowdiffusemodulation is a material shader parameter available in all Source games since Left 4 Dead Left 4 Dead (also in Mapbase Mapbase) 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 $notint in Counter-Strike: Global Offensive Counter-Strike: Global Offensive and Portal 2: Community Edition Portal 2: Community Edition.

Syntax

$allowdiffusemodulation <bool>