Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS 3D inside WebXR #80

Open
trusktr opened this issue Nov 29, 2022 · 1 comment
Open

CSS 3D inside WebXR #80

trusktr opened this issue Nov 29, 2022 · 1 comment

Comments

@trusktr
Copy link

trusktr commented Nov 29, 2022

It would be game changer. Will it ever happen?

@AdaRoseCannon
Copy link
Member

In short: no.

In long: WebXR doesn't do DOM rendering (with some exceptions), WebXR is for rendering graphic content to the Web. There has been some research into having WebXR layers containing DOM content but they probably wouldn't display CSS 3D content outside of the rectangle.

On a separate note, outside of WebXR there has been a few early thoughts that there should be someway for CSS/HTML content to make the most of immersive displays without needing WebXR at all. Right now the focus in this discussion is more focused on a <model> tag. Whilst I personally think having general HTML content broken out of the web rectangle would be great no one is really having these discussions yet. I hope Wolvic and Meta, who both maintain immersive browsers want to talk about this eventually I get the feeling that it is not really in the cards for any time soon.

Even if that did happen displaying the DOM content as it's displayed in the browser composited with WebXR content is still another matter entirely that would need further discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants