$decaltexture is a material shader parameter available in Counter-Strike: Global Offensive for
VertexLitGeneric. It allows for a second UV channel to be defined for a model, allowing a decal texture to be placed on top of the base material. To use the parameter, the MDL must have been compiled from an FBX file and have a second UV channel defined.
Parameters and Effects
- The decal texture.
- Set the decal's blend mode. Mode 0 is alpha masked, mode 1 is multiplied, mode 2 is multiplied x2, 3 is additive.
- Note: If set to 1,
$phongwill not function on the material.
- If enabled, model decals will ignore depth.