Add GLB object to splat viewer

Is it possible/ is there any example on how to add a glb object inside a gausian splat scene viewer so that the objects is in the same layer and it occludes/ocluded by the splat?

Ive attempted to generate the simplest box in blender exported as glb and attempt several material configuration and to add it to all the layers in the scene. In all scenarios the object is either always behind the splat or completely infront, never “merged”.

Thanks

@slimbuck

here’s a general PlayCanvas example doing this, I expect it will be similar

https://playcanvas.vercel.app/#/loaders/gsplat-many

But there is nothing special the example does, it simply downloads the glb and adds it to the scene, no setup.

Make sure your mesh has depth write enabled on the material (this is a default setting)