$masks2: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{Shaderparam|$masks2|game={{csgo}}}} Used in [[Character (shader)]]. It specifies various lighting effects in each of the 4 layers.
{{Shaderparam|$masks2|game=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:
The purpose of each layer is:

Revision as of 18:00, 1 May 2023

Template:Shaderparam 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