Skip to content

Commit

Permalink
bump up quality for Quest 3
Browse files Browse the repository at this point in the history
  • Loading branch information
cabanier committed Oct 19, 2023
1 parent 56927e3 commit 5494cf0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion map.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
});

Expand Down

0 comments on commit 5494cf0

Please sign in to comment.