Texture Mask: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
* '''Green channel:''' [[Diffuse Mask]]
* '''Green channel:''' [[Diffuse Mask]]
* '''Blue channel:''' [[Metalness Mask]]
* '''Blue channel:''' [[Metalness Mask]]
* '''Alpha channel:''' [[Self-illumination Mask]]
* '''Alpha channel:''' [[https://developer.valvesoftware.com/wiki/Glowing_Textures#.24selfillum_textures|Self-illumination Mask]]





Revision as of 09:16, 15 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: