$masks1

From Valve Developer Community
Revision as of 11:08, 15 February 2024 by Sirhephaestus (talk | contribs) (formatting)
Jump to navigation Jump to search

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 - $rimlight mask
Green channel - Phong Albedo mask
Blue channel - $metalness mask
Alpha channel - $warpindex mask