Texture Mask: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Redirected page to Character (shader))
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
In {{csgo}} [[Counter-Strike: Global Offensive]] based Source version there are two Texture Masks, [[$masks1]] and [[$masks2]] that are used for [[material]] [[shader|shaders]].
#REDIRECT [[Character (shader)]]
 
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:''' [[https://developer.valvesoftware.com/wiki/Glowing_Textures#.24selfillum_textures|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

Latest revision as of 18:25, 15 August 2020

Redirect to: