$masks2: Difference between revisions
Jump to navigation
Jump to search
(https://i.imgur.com/3Pu7ZBr.png proof of what it does) |
m (Replacing with "This is a" template) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{This is a|shader parameter|name=$masks2|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: | ||
:'''Red channel''' - Shadow saturation mask | :'''Red channel''' - Shadow saturation mask | ||
:'''Green channel''' - Angle of Anisotropy | :'''Green channel''' - Angle and Amount of Anisotropy | ||
:'''Blue channel''' - [[$envmap]] light scale | :'''Blue channel''' - [[$envmap]] light scale | ||
:'''Alpha channel''' - Retroreflectivity | :'''Alpha channel''' - Retroreflectivity | ||
[[Category: | [[Category:Shader parameters|m]] |
Latest revision as of 10:17, 10 August 2024
$masks2
is a material shader parameter available in 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 - Shadow saturation mask
- Green channel - Angle and Amount of Anisotropy
- Blue channel - $envmap light scale
- Alpha channel - Retroreflectivity