$masks1: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(https://i.imgur.com/74ugQl6.png proof of what it does)
mNo edit summary
Line 1: Line 1:
{{Shaderparam|$masks1}} Used in {{csgo}} [[Character (shader)]]. It specifies various lighting effects in each of the 4 layers.
{{Shaderparam|$masks1|game={{csgo}}}} 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 19:39, 15 August 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 - $rimlight mask
Green channel - Phong Albedo mask
Blue channel - $metalness mask
Alpha channel - $warpindex mask