$masks2: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| Karl-police (talk | contribs) No edit summary | Karl-police (talk | contribs)  No edit summary | ||
| Line 4: | Line 4: | ||
| The '''$masks2''' texture contains the following: | The '''$masks2''' texture contains the following: | ||
| * '''Red channel:'''  | * '''Red channel:''' [[Specular]] mask | ||
| * '''Green channel:''' [[$rimlight|Rimlight]] mask | * '''Green channel:''' [[$rimlight|Rimlight]] mask | ||
| * '''Blue channel:''' [[Base Tint|Base Tint mask]] | * '''Blue channel:''' [[Base Tint|Base Tint mask]] | ||
| * '''Alpha channel:'''  | * '''Alpha channel:''' [[Specular]] exponent | ||
Revision as of 11:23, 14 January 2020
$masks2 is a material shader parameter available in  Counter-Strike: Global Offensive based Source version, available for the "character" shader.
 Counter-Strike: Global Offensive based Source version, available for the "character" shader.
There are two masks the #1 and #2 mask available in the MasksTexture.
The $masks2 texture contains the following:
- Red channel: Specular mask
- Green channel: Rimlight mask
- Blue channel: Base Tint mask
- Alpha channel: Specular exponent