From 5494cf08da7710a102bced0dc5fb9b9676d3424b Mon Sep 17 00:00:00 2001 From: Rik Cabanier Date: Thu, 19 Oct 2023 03:35:12 +0000 Subject: [PATCH] bump up quality for Quest 3 --- map.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/map.js b/map.js index 84f5679..22a7c20 100644 --- a/map.js +++ b/map.js @@ -42,7 +42,10 @@ AFRAME.registerComponent("map", { gtag('event', 'enter-vr', { 'model': model_name}); if (this.xrSession.updateTargetFrameRate) { - this.xrSession.updateTargetFrameRate(72); + this.xrSession.updateTargetFrameRate(model_name === 'Quest 3' ? 90 : 72); + } + if (model_name === 'Quest 3') { + this.renderer.xr.setFoveation(0); } });