$masks1: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 7: Line 7:
:'''Blue channel''' - [[$metalness]] mask
:'''Blue channel''' - [[$metalness]] mask
:'''Alpha channel''' - [[$warpindex]] mask
:'''Alpha channel''' - [[$warpindex]] mask
 
[[Category:Shader parameters|m]]
[[Category:List of 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 - $rimlight mask
Green channel - Phong Albedo mask
Blue channel - $metalness mask
Alpha channel - $warpindex mask