Terrain smoothing.

Hello.

I have a question: is there a way to smooth the entire terrain via script? And is there also a way to enhance ridges on the whole terrain (also via script)?

Thanks in advance for the answers.

-Xentarok

You can find algorithms and scripts in the Terrain Toolkit: check Where Is Terrain Toolkit - Unity Answers

Solved using Terrain Toolkit (answering to myself to mark question as answered).