immersive-web / layers

A feature repo for working on multi-layer support in WebXR. Feature leads: Rik Cabanier and Artem Bolgar (Oculus)
https://immersive-web.github.io/layers/
Other
90 stars 19 forks source link

First prototype of space warp #273

Closed cabanier closed 2 years ago

cabanier commented 3 years ago

This is not ready for merging. Mostly to gather feedback on the shape of the API.


Preview | Diff


Preview | Diff

cabanier commented 2 years ago

/facetoface

cabanier commented 2 years ago

During the face2face @toji mentioned that the depth buffer size should always match color buffer size while rendering I asked about this internally and they agreed with this.

They mentioned that other platforms populate the depth buffer during the render pass that creates the motion textures. This leave the site free to allocate its own depth buffer. They said it's also possible to copy and downsample the regular depth texture to the swapchain backed one.