$no draw/en
< $no draw
Language subpage
This subpage is used on the $no draw page to display content in English.
If you have edited the language subpage, do not forget to purge the base page by clicking on the button on the right. Otherwise, its contents will not be updated.
$no_draw
is a material shader parameter available in all Source games. 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.
Bug:Doesn't actually skip drawing the faces, but instead acts like an
$alphatest
texture that is completely transparent. (tested in )Example
VertexLitGeneric
{
$no_draw 1
}