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

Bug:Doesn't actually skip drawing the faces, but instead acts like an $alphatest texture that is completely transparent. (tested in
) [todo tested in ?]
m (what the) |
m (Multipage removal) |
||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{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. | ||
Line 14: | Line 15: | ||
} | } | ||
</source> | </source> | ||
[[Category:Material System]] | |||
[[Category:Shader parameters|no draw]] |
Revision as of 03:44, 12 July 2024


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
}