$no draw: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{lang|$no_draw}}
{{lang|$no_draw}} {{DISPLAYTITLE:$no_draw}}
{{stub}}
{{stub}}
{{Shaderparam|$no_draw}} 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.
{{Shaderparam|$no_draw}} 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.

Revision as of 07:20, 30 December 2023

English (en)Translate (Translate)

Warning: Display title "$no_draw" 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 the Nodraw tool texture for maps, 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
}