$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)
m (Replacing with "This is a" template)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Shaderparam|$masks1}} Used in {{csgo}} [[Character (shader)]]. It specifies various lighting effects in each of the 4 layers.
{{This is a|shader parameter|name=$masks1|game=Counter-Strike: Global Offensive}} 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:


Line 7: Line 6:
:'''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]]

Latest revision as of 10:16, 10 August 2024

$masks1 is a material shader parameter available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive. 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