$decal

From Valve Developer Community
Revision as of 20:19, 4 April 2008 by Beeswax (talk | contribs)
Jump to navigation Jump to search

The $decal VMT command is specifies that the $basetexture will be projected onto, and clipped into, whatever surface it is applied to.

VMT syntax example

"LightmappedGeneric"
{
    "$basetexture" "decals/mydecal"
    "$decal" 1
    "$decalscale" 0.10
    "$translucent" 1
}