lovr
lovr copied to clipboard
Model:setNodeVisibility
It would be nice to have a way to hide certain nodes from being drawn. You can currently hack it by setting the scale, but this still does the draw call and shades the vertices.
Model:setNodeVisibility would hide the node in a way that skips it during rendering. Need to decide whether hiding a node also hides its children or not (or if there is a recursive parameter).
If we add this, we should change OpenXR render models to use node visibility instead of a zero scale.