$no_draw

From Valve Developer Community
Revision as of 14:18, 8 January 2024 by SirYodaJedi (talk | contribs)
Jump to navigation Jump to search
English (en)Translate (Translate)

Warning: Display title "<span class="monospaced" style="font-family:monospace, monospace">$no_draw</span>" overrides earlier display title "$no draw".

Stub

This article or section is a stub. You can help by expanding it.

Template:Shaderparam It is a setting that causes the material to not be drawn or rendered at all. Usually used to quickly hide parts of a model, without having to make a transparent texture.

Similar to %CompileNoDraw, except this can be applied to models. This can be used as a workaround to the broken "Removemodel" on $lod.

Example

VertexLitGeneric
{
$no_draw 1
}