From 54efdc835bd645b3797b09a6b7029b38dccf4b79 Mon Sep 17 00:00:00 2001 From: Rik Cabanier Date: Tue, 14 Mar 2023 01:44:07 +0000 Subject: [PATCH] make space warp non-experimental + cover case where not depth or motion is submitted --- webxrlayers-1.bs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webxrlayers-1.bs b/webxrlayers-1.bs index 707acb8..93e0353 100755 --- a/webxrlayers-1.bs +++ b/webxrlayers-1.bs @@ -2001,7 +2001,6 @@ Other layers types MUST continue to be sorted as before. Space warp {#spacewarp} ========== -
Space warp is a technology that improves the [=XR Compositor=]'s reprojection. By submitting a {{XRWebGLSubImage/motionVectorTexture}} along with a {{XRWebGLSubImage/depthStencilTexture}} @@ -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. -
+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} ============================