$no draw: Difference between revisions
Jump to navigation
Jump to search

Kestrelguy (talk | contribs) (added language bar. is a stub.) |
(added some more info to this page.) |
||
Line 1: | Line 1: | ||
{{lang|$no draw}} | {{lang|$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. | {{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. | ||
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 == | == Example == | ||
<source lang lua> | |||
VertexLitGeneric | |||
{ | |||
$no_draw 1 | |||
} | |||
</source> |
Revision as of 03:29, 24 November 2023


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
}