Hey team,
Our PlayCanvas app is based in XR, specifically targeting the Quest 2, and we want to know if fixed foveation is working in PlayCanvas. According to what I’ve read from documentation on both PlayCanvas and the immersive-web team, it sounds like it’s meant to be passed into the options.optionalFeatures string array as ‘low-fixed-foveation-level’/‘high-fixed-foveation-level’, etc. Something like this:
player.prototype.startXRSession = function()
{
this.cameraEntity.camera.startXr(pc.XRTYPE_VR,
pc.XRSPACE_LOCAL,
this.getVRSessionOptions());
};
player.prototype.getVRSessionOptions = () =>
({
optionalFeatures:
[
'high-fixed-foveation-level'
]
});
Upon playback on a Quest 2 headset though, the render doesn’t seem to be any different. No errors either. Is there anything we’re missing about this implementation like formatting/syntax? Or is it potentially even unsupported still?