$nodecal: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) mNo edit summary |
(Answered why) |
||
| Line 3: | Line 3: | ||
{{code|$nodecal 1}} will stop bullet holes and other decals from applying to the textures flagged with it in their [[VMT]]s. | {{code|$nodecal 1}} will stop bullet holes and other decals from applying to the textures flagged with it in their [[VMT]]s. | ||
This is useful for materials that use [[$translucent]] | This is useful for materials that use [[$translucent]] so that bullet holes and other decals do not appear to be floating in the air. | ||
[[Category:Shader parameters|n]] | [[Category:Shader parameters|n]] | ||
Revision as of 10:25, 29 August 2025
$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 so that bullet holes and other decals do not appear to be floating in the air.