$masks1

From Valve Developer Community
Revision as of 18:18, 15 August 2020 by Darnias (talk | contribs) (https://i.imgur.com/74ugQl6.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 - $rimlight mask
Green channel - Phong Albedo mask
Blue channel - $metalness mask
Alpha channel - $warpindex mask