CSS2DObjects in WEBXR


We are using CSS2DRenderer/CSS2DObjects successfully to render objects in a regular scene on desktop and mobile. However, I would like to know if this is also compatible in a WebXR session. It seems that the objects are still added to the scene, and the CSS2DRenderer is still running, but we can’t see the objects. Is this feature compatible with VR? Do we need to enable anything extra to see the objects?. Thank you

See Enabling support for XR in CSS3DRenderer · Issue #22786 · mrdoob/three.js · GitHub

Thank you for your answer. I will refactor to use HTMLMesh instead.

1 Like