$decal: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 14: Line 14:


[[Category:List of Shader Parameters]]
[[Category:List of Shader Parameters]]
[[Category:VMT Translucency]]

Revision as of 20:19, 4 April 2008

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
}