$allowdiffusemodulation: Difference between revisions
Jump to navigation
Jump to search
Note:This parameter exists as
Counter-Strike: Global Offensive and
Portal 2: Community Edition.
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Page|strings=3|en=3|ru=3}} | {{Page | ||
| strings = 3 | |||
| en = 3 | |||
| ru = 3 | |||
}} | |||
{{Stub}} | {{Stub}} | ||
'''{{Code|preset=0|$allowdiffusemodulation}}''' {{String | '''{{Code|preset=0|$allowdiffusemodulation}}''' {{String | ||
| en = is a [[material]] [[shader]] parameter available in all {{Source|3}} games since {{L4d|4}} (also in {{Mapbase|4}}) for {{Code|[[VertexLitGeneric]]}}. It prevents a material from being tinted by either <code>[[$color#$color2|$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. | | en = is a [[material]] [[shader]] parameter available in all {{Source|3}} games since {{L4d|4}} (also in {{Mapbase|4}}) for {{Code|[[VertexLitGeneric]]}}. It prevents a material from being tinted by either <code>[[$color#$color2|$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. |
Revision as of 06:50, 26 June 2024
$allowdiffusemodulation is a material shader parameter available in all Source games since Left 4 Dead (also in
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.

$notint
in 
