Update Ground by Updating HeightMap Image or supplying new Vertex Data from Image URL

Is it possible to update Ground by Updating HeightMap Image or supplying new Vertex Data generated from a new HeightMap Image? I can dispose old Heightmap and regenerate a new HeightMap but that would be inefficient. I just want to update the current ground plane.

Here I can see how it is done but I want to do it on run time?

You can update the vertex data of any mesh, but might be as inefficient as recreating the mesh and disposing the old one. Also, the current implementation doesn’t really support it, so you will need to create your own custom implementation (though the code is there, so it shouldn’t be a huge issue doing that)

1 Like