immersive-web / webxr-samples

Samples to demonstrate use of the WebXR Device API
https://immersive-web.github.io/webxr-samples/
MIT License
979 stars 474 forks source link

Fix: Added depthSensing key with usage and data format prefs #164

Open hybridherbst opened 1 year ago

hybridherbst commented 1 year ago

It seems the Chrome implementation has changed and it now follows https://www.w3.org/TR/webxr-depth-sensing-1/#session-configuration.

Related:

So a new key is needed for the session to even start. This PR adds that - and the session starts due to that - but I'm not sure how to change the sample to actually work again (right now I see nothing about the depth).

Help appreciated!