$masks2: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


The '''$masks2''' texture contains the following:
The '''$masks2''' texture contains the following:
* '''Red channel:''' Spec mask
* '''Red channel:''' [[Specular]] mask
* '''Green channel:''' [[$rimlight|Rimlight]] mask
* '''Green channel:''' [[$rimlight|Rimlight]] mask
* '''Blue channel:''' [[Base Tint|Base Tint mask]]
* '''Blue channel:''' [[Base Tint|Base Tint mask]]
* '''Alpha channel:''' Spec exponent
* '''Alpha channel:''' [[Specular]] exponent

Revision as of 11:23, 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: