$masks2: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 8: Line 8:
:'''Alpha channel''' - Retroreflectivity
:'''Alpha channel''' - Retroreflectivity


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

Revision as of 09:56, 15 August 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