WebXR aliasing broken on Quest2 since v5.24.0

Hi,
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

Thanks

Hi,
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:

1 Like

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
2 Likes

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