Gsplats and meshes with transparency

Hey there, Im experimeting with gaussian splattings and I want to use transparent meshes above the gsplats to highlight certain areas.

I found out that meshes and gsplats dont play nice together with meshes becasue of sorting and transparency.

An idea would be to create a invisible mesh volume that has a simplified shape as the gsplats and have this to occlude the meshes.

Is this a normal practice with gsplats? Are there examples about this?

Would love to hear anything related to this and how to solve it.

This might be a classic alpha sorting issue, this might be able to be reproduced if 2 plain semi-transparent alpha blend meshes overlapping in the space.

Gaussian Splatting is a transparent mesh. It’s sorted back to front for rendering. But if a transparent mesh is close enough than another, some fighting can occur.

Usually, the best is to tweak the rendering group : Babylon.js docs

So, for example, to make sure 1 mesh is always rendered on top of another.