WebXR aliasing broken on Quest2 since v5.24.0

I have recently upgraded to Webpack 5 and am now moving to versions of babylon.js greater than 5.21.0.

I noticed that in version 5.24.0 anti-aliasing has been disabled on the Quest 2. The issue seems similar to the aliasing issue I described here: WebXR layers feature broken on Quest 2 with skybox and environment - #10

Playground showing the aliasing issue: https://playground.babylonjs.com/#9K3MRA#741
Playground showing a workaround by forcing the samples to 4 (restoring anti-aliasing): https://playground.babylonjs.com/#9K3MRA#808


If I understand correctly, you are saying that since > 5.21 the samples are set incorrectly when using the quest.
I’ll look into it. The code hasn’t changed, so I find it a little mysterious :slight_smile:

1 Like

just to confirm, the issue was introduced in 5.24.
5.23 is fine

1 Like

got it. let’s see what we damaged in the process :slight_smile:

Seems to be related to this PR - OIT aliasing fixes by CraigFeldspar · Pull Request #12916 · BabylonJS/Babylon.js (github.com)

i’ll have to debug this further, but at least we found the culprit.

1 Like

Thank you for fixing that :smiley:

Hi @RaananW ,
unfortunately, it looks like your fix didn’t work as I still see the issue in Babylon.js 5.29.0 and the playgrounds I posted at the top of this thread confirm this.

i’ll check that, thanks

1 Like

Sorry for the long delay - Fix aliasing issue in webxr multiview by RaananW · Pull Request #13217 · BabylonJS/Babylon.js · GitHub this will fix it.

1 Like