diff --git a/tests/fixed-foveation.html b/tests/fixed-foveation.html new file mode 100644 index 000000000..c549cf577 --- /dev/null +++ b/tests/fixed-foveation.html @@ -0,0 +1,553 @@ + + + + + + + + + + + + + Fixed Foveation in WebXR + + +
+
+ Barebones WebXR +

+ This sample shows the areas of the foveated regions and the + strength of foveation. It also cycles through the foveation + region. + white = no foveation + red = light foveation + green = medium foveation + blue = heavy foveation + purple = maximum foveation + Back +

+ +
+
+
+

Click 'Enter XR' to see content

+
+ + + \ No newline at end of file diff --git a/tests/index.html b/tests/index.html index ac570f8b8..ecc370052 100644 --- a/tests/index.html +++ b/tests/index.html @@ -159,6 +159,10 @@

Test Pages

{ title: 'Bounded Floor', category: 'Fried Chicken', path: 'show-boundary.html', description: 'A scene that shows the boundary.' }, + + { title: 'Foveation', category: 'Fried Chicken', + path: 'fixed-foveation.html', + description: 'A scene that displays the foveated regions.' }, ]; let mainElement = document.getElementById("main");