Texture Mask: Difference between revisions
Jump to navigation
Jump to search
Karl-police (talk | contribs) No edit summary |
Karl-police (talk | contribs) 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:''' [[ | * '''Alpha channel:''' [[Glowing_Textures#.24selfillum_textures|Self-illumination Mask]] | ||
Revision as of 09:17, 15 January 2020
In 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:
- 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 mask
- Blue channel: Base Tint mask
- Alpha channel: Specular exponent