$masks2

From Valve Developer Community
Revision as of 18:20, 15 August 2020 by Darnias (talk | contribs) (https://i.imgur.com/3Pu7ZBr.png proof of what it does)
Jump to navigation Jump to search

Template:Shaderparam Used in Counter-Strike: Global Offensive 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 of Anisotropy
Blue channel - $envmap light scale
Alpha channel - Retroreflectivity