Gaussian Splats best practices for optimisation in Niantic Studio?

My gaussian splat is making the game unplayable. Any best practices to reduce lag?

Unfortunately due to the limitations around editing a Splat it’s not really possible to optimize them beyond cropping. You could consider having multiple Splats that get loaded when they’re needed.

I see, could you share how do you load a splat upon demand?

If I remember correctly, you can’t setactive an object in ECS right?

You would first add the component to your entity through code and then set the URL or the splat to be one in your assets or an external file.

ecs.Splat.set(world, component.eid, {
 url: 'assets/mySplat.spz'
})

Keep in mind it has to be .spz

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.