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

Implement WebXR Layers #365

Open
De-Panther opened this issue Mar 2, 2024 · 0 comments
Open

Implement WebXR Layers #365

De-Panther opened this issue Mar 2, 2024 · 0 comments
Labels
enhancement New feature or request
Projects

Comments

@De-Panther
Copy link
Owner

Is your feature request related to a problem? Please describe.
Unity just announced support for Composition Layers.
https://forum.unity.com/threads/composition-layers-experimental-package-is-now-available.1551029/
The implementation for their OpenXR package is similar enough to WebXR Layers.
It means that we can add WebXR Layers with the same interface for the developers.

Describe the solution you'd like
Implement WebXR Layers using the same component and interfaces that the Composition Layers package provides.
https://docs.unity3d.com/Packages/com.unity.xr.compositionlayers@0.5/manual/provider-guide.html
As its a rendering part, it should be in the WebXR Export package.

Needs a solution for when there's no support for WebXR Layers on a device.
Unity has the XR Composition Layers Emulation, which can be built for desktop runtimes. But I guess the solution for WebXR should be to use the WebXR Layers Polyfill.
https://github.com/immersive-web/webxr-layers-polyfill

Additional context
https://www.w3.org/TR/webxrlayers-1/
https://developer.oculus.com/documentation/web/webxr-layers/
https://immersive-web.github.io/webxr-samples/layers-samples/

@De-Panther De-Panther added the enhancement New feature or request label Mar 2, 2024
@De-Panther De-Panther added this to To do in General via automation Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
General
  
To do
Development

No branches or pull requests

1 participant