layers
layers copied to clipboard
A feature repo for working on multi-layer support in WebXR. Feature leads: Rik Cabanier and Artem Bolgar (Oculus)
/facetoface
This is not ready for merging. Mostly to gather feedback on the shape of the API. *** Preview | Diff *** Preview | Diff
Oculus submitted an [extension to OpenXR](https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XR_FB_space_warp) to enable space warp. This feature allows scenes to render at half the frame rate but with the use of smart reprojection, they can...
We've seen that a very common use case for layers is the display of documents or UI with text. Currently, layers are tuned for performance but they have the ability...
When playing VR stereo video with XRMediaEquirectLayer and displaying UI with XRProjectionLayer, I want to turn off stereo when displaying UI, and close UI and turn back to stereo when...
Only the UA really knows where layers are placed in 3D space. The author (or JS framework) can guess where they are but this might be brittle. What is the...
Subtitles have been discussed a lot in some of the a11y discussions such as in [XAUR](https://www.w3.org/TR/xaur/#captioning-subtitling-and-text-support-and-customization). Ideally a video with a subtitle track played through layers should display the subtitle...
The layer types with XR*LayerInit : XRLayerInit require authors to specify `viewPixelWidth` and `viewPixelHeight`. Working out effective values for these seems *difficult.* I have my source media (environment map/photo/video/etc.) available...
If a video is played using the media layers, should we support spatial audio? For instance, if the video is an equirect, should the stereo channels reposition themselves as the...
Non-projection layers are always displayed in world correct space on all views. Because of this we can no longer special case their appearance on secondary views (ie we might not...