How can I optimize heightmap with sps?

Hello everyone

this is my HeightMap : https://playground.babylonjs.com/#X2ULQN#60
and it is so heavy for the CPU, how can I optimize it with the sps?

I am not sure SPS would help with this case, adding @jerome who is the amazing master of the SPS.

1 Like

I don’t get what you want to achieve exactly

2 Likes

Thank you so much for answering to my question. @sebavan and @jerome
I would like to get better performance on my height map, now its so heavy, I wanted to know what is the best way for optimization in this case?

Use less details? (less vertices)
Freeze the mesh and material.
Enable always select as active mesh

2 Likes

Thanks a lot for your recommend :pray: