Smoothen surface without affecting the edges?

Some years before I was working on a large terrain and I worked with a mesh. I used a planar projection from the top and mapped anything - grass, ways, sand … all in one material and visibility controlled by transparency maps at the different layers.