$masks2: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 4: Line 4:


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


[[Category:List of Shader Parameters|M]]
[[Category:List of Shader Parameters|M]]

Revision as of 07:02, 12 September 2020

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