exokitxr / exokit

Native VR/AR/XR engine for JavaScript 🦖
MIT License
997 stars 117 forks source link

Handle 2d sites passed into Exokit #1113

Open chrislatorres opened 5 years ago

chrislatorres commented 5 years ago

Currently passing in sites as arguments will load if they are 3d sites, should Exokit detect and load 2d sites?

avaer commented 5 years ago

That could be a reasonable feature. I'm just not sure what the use case is.

Would it be opening as a reality tab, or would be just be being chrome?

What about VR entry buttons? We'd probably want that to function if we're doing this, but that would require a complicated heuristic dance between chrome and exokit.

chrislatorres commented 5 years ago

It makes sense to have it open in a 3d world as a 2d reality tab, otherwise it would be going into normal 2d browser territory.

Handling the VR entry buttons

Users would also presumably be able to exit that specific layer back to 2d mode from VR mode.