How to flatten terrain

Just like this discussion, but not just 3D title, I hope it can also be realized on the terrain. :grinning: