Potential Bug : Flickering when needDepthPrepass is true

I have an issue that might be related to my hardware or a bug from chrome.

Here is the PG : https://playground.babylonjs.com/#8AAIT2#1

In last version of Chrome 131.0.6778.86, on an ARM MacBook M1, when I set needDepthPrepass to true on a material with an opacity map or with alpha, the binded mesh flickers.
Here is a .GIF showing the issue :
2024-11-20 16.02.32

This happens also with PBRMaterials instead of StandardMaterial.

I wasn’t able to reproduce this behavior in Firefox.

Do you have any idea of what could cause this issue ?

Thanks for any answer

I think this is related to this bug they have:
Flickering of overlapping meshes at Chrome on mac - Questions - Babylon.js

1 Like