Skip to content

make space warp non-experimental + cover case where not depth or motion is submitted #303

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions webxrlayers-1.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2001,7 +2001,6 @@ Other layers types MUST continue to be sorted as before.

Space warp {#spacewarp}
==========
<div class="unstable">

<dfn>Space warp</dfn> is a technology that improves the [=XR Compositor=]'s reprojection.
By submitting a {{XRWebGLSubImage/motionVectorTexture}} along with a {{XRWebGLSubImage/depthStencilTexture}}
Expand All @@ -2012,7 +2011,7 @@ If "[=space-warp=]" is enabled, the [=XR Compositor=] MUST make use of depth val

The {{XRWebGLSubImage/motionVectorTexture}} MUST be in {{RGBA16F}} format. The author SHOULD fill in the RGB components of this texture with the speed in meters per second of that area with the red pixel corresponding with the x axis, green the y axis and blue the z axis.

</div>
If the {{XRWebGLSubImage/motionVectorTexture}} or {{XRWebGLSubImage/depthStencilTexture}} were not submitted during the processing of the {{XRFrame}}, the [=XR Compositor=] MUST process the {{XRFrame}} as if [=space warp=] was not enabled.

WebXR Device API Integration {#webxrintegration}
============================
Expand Down