Transparent box flicker problem

Alpha | Babylon.js Playground (babylonjs.com)
Is there a good way to solve this problem?

Use alphamode = 1; Yes, but the color of the box is wrong;
Alpha | Babylon.js Playground (babylonjs.com)

See this doc regarding problems when rendering transparent objects.

But even facet data sorting won’t work in your case:
https://playground.babylonjs.com/#1PLV5Z#64

OIT should be able to render this scene correctly:

1 Like