News for hackers. Stuff that matters.
Re:WebXR by Arathorn on Saturday May 27, 2023 @05:29PM (#36098528)
you can calculate 2D CSS transforms which match the equivalent transforms of your WebGL scene in WebXR - as an efficient but hacky way to (for instance) do live video overlays in 3D without having to mess around importing the video texture into WebGL (assuming you don’t need occlusion or environmental effects etc).

we’re toying with this as an approach for video overlays in https://thirdroom.io, especially for underpowered devices.

Re:WebXR by hoc on Sunday May 28, 2023 @03:12PM (#36106837)
Yes, I've seen similar examples. Reminded me of HW video card overlays and I hoped we would have a better solution soon.

But currently probably it what's there. Would this work as well for other HTML content, like dynamically projecting a whole DIV into/over a canvas scene that I would then be able to have positioned over some surface in VR?

Love the product/concept, btw.