$masks2: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "'''$masks2''' is a material shader parameter available in {{csgo}} Counter-Strike: Global Offensive based Source version, available for the "character" shader.")
 
No edit summary
Line 1: Line 1:
'''$masks2''' is a [[material]] [[shader]] parameter available in {{csgo}} [[Counter-Strike: Global Offensive]] based Source version, available for the "character" shader.
'''$masks2''' is a [[material]] [[shader]] parameter available in {{csgo}} [[Counter-Strike: Global Offensive]] based Source version, available for the "character" shader.
There are two masks the #1 and #2 mask available in the [[Texture Mask|MasksTexture]].
The '''$masks2''' texture contains the following:
* '''Red channel:''' Spec mask
* '''Green channel:''' [[Rimlight]] mask
* '''Blue channel:''' [[Base Tint|Base Tint mask]]
* '''Alpha channel:''' Spec exponent

Revision as of 11:22, 14 January 2020

$masks2 is a material shader parameter available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive based Source version, available for the "character" shader.

There are two masks the #1 and #2 mask available in the MasksTexture.

The $masks2 texture contains the following: