Texture Mask: Difference between revisions

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


In Source 2 these two masks, are separated.
In Source 2 these two masks, are separated.
== $masks1 ==
The '''$masks1''' texture contains the following:
* '''Red channel:''' [[Detail Mask]]
* '''Green channel:''' [[Diffuse Mask]]
* '''Blue channel:''' [[Metalness Mask]]
* '''Alpha channel:''' [[Self-illumination Mask]]
== $masks2 ==
The '''$masks2''' texture contains the following:
* '''Red channel:''' [[Specular mask]]
* '''Green channel:''' [[$rimlight|Rimlight]] mask
* '''Blue channel:''' [[Base Tint|Base Tint mask]]
* '''Alpha channel:''' [[Specular]] exponent

Revision as of 18:00, 14 January 2020

In Counter-Strike: Global Offensive Counter-Strike: Global Offensive based Source version there are two Texture Masks, $masks1 and $masks2 that are used for material shaders.

In Source 2 these two masks, are separated.


$masks1

The $masks1 texture contains the following:


$masks2

The $masks2 texture contains the following: