$nodecal: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 3: Line 3:
$nodecal "1" will stop bullet holes and other decals from applying to the textures flagged with it in their VMTs.
$nodecal "1" will stop bullet holes and other decals from applying to the textures flagged with it in their VMTs.


This is useful for materials that use $translucent
This is useful for materials that use $translucent{{elaborate}}
[[Category:Shader parameters|n]]
[[Category:Shader parameters|n]]

Revision as of 08:25, 12 January 2024

$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 materials that use $translucent[Elaborate?]