$masks2

From Valve Developer Community
Revision as of 10:17, 10 August 2024 by N0one (talk | contribs) (Replacing with "This is a" template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

$masks2 is a material shader parameter available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive. Used in Character (shader). It specifies various lighting effects in each of the 4 layers.

The purpose of each layer is:

Red channel - Shadow saturation mask
Green channel - Angle and Amount of Anisotropy
Blue channel - $envmap light scale
Alpha channel - Retroreflectivity