lovr icon indicating copy to clipboard operation
lovr copied to clipboard

Model:setNodeVisibility

Open bjornbytes opened this issue 11 months ago • 1 comments

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).

bjornbytes avatar Jan 31 '25 19:01 bjornbytes

If we add this, we should change OpenXR render models to use node visibility instead of a zero scale.

bjornbytes avatar Jun 18 '25 04:06 bjornbytes