$nodecal: Difference between revisions

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


This is useful for materials that use $translucent
This is useful for materials that use $translucent
 
[[Category:Shader parameters|n]]
[[Category:List of Shader Parameters|N]]

Revision as of 10:00, 15 August 2023

$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