Removing/Fading Gaussians near Camera?

Hi. I have a camera orbiting around my scene wide Gaussian Splat, and I was wondering if it was possible to fade way Gaussians that are near my camera as it orbits near? I don’t want my camera clipping into it.

Originally, I was planning to use multiple splats to make it easier, but rendering order made that approach impossible. I’ve combined them into one file now, but I’m not too sure how to approach this. Is this even possible?

One way to do this would be by using a custom shader. See an example here: PlayCanvas Examples

when you enable Custom Shader, splats are hidden based on some sin or cos function and time. You’d need to do something similar, but drive the transparency based on the distance to the camera for example.