Glass alpha bug

In this project we have to render shower boxes.
The glasses have a meshPyhsicalMaterial that generally works good, apart from some strange bugs as you can see in the video below.

Does anyone have an idea why this happens?

Looks like a depth sorting issue…
Assuming the transparent stuff has .transparent = true on its materials…

Make sure that the centerpoint of each transparent objects geometry is actually at its center… and not at 0,0,0… or some other point… .that will allow the depth sorter to do a better job.