Texture Mask
Jump to navigation
Jump to search
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