How do I get material immediately after loading splat?

Now you need to get it through setTimeout

The material is created the first time render is called:

You can probably use gs.onAfterRenderObservable.addOnce to get the material after creating the gaussian splatting mesh

1 Like

This works:

1 Like