$masks1

From Valve Developer Community
Jump to: navigation, search

$masks1 is a material shader parameter available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive. Used in Character (shader). It specifies various lighting effects in each of the 4 layers. The purpose of each layer is:

Red channel - $rimlight mask
Green channel - Phong Albedo mask
Blue channel - $metalness mask
Alpha channel - $warpindex mask