$nodecal

From Valve Developer Community
Revision as of 10:40, 29 August 2025 by SirYodaJedi (talk | contribs) (Sometimes you don't want NoDecal, like on glass.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

$nodecal is a shader parameter for textures in Source games.

$nodecal 1 will stop bullet holes and other decals from applying to the textures flagged with it in their VMTs.

This is useful for certain materials that use $translucent so that bullet holes and other decals do not appear to be floating in the air on fully transparent portions of the material.