This is the release code for the paper Terrain Amplification using Multi-scale Erosion, to be published in Transactions on Graphics. Please reference this article when using the source code. A small mono-scale example is also available on ShaderToy : https://www.shadertoy.com/view/XX2XWD. You'll find more links about the project on this page : https://h-schott.github.io/publications/mserosion/publi_mserosion.html.
Clone the repository using:
git clone https://github.com/H-Schott/MultiScaleErosion.git
Can be compiled on Windows or Linux, using the CMake file. Requires at least OpenGl 4.3 for compute shaders.
On Linux, additional packages may be required:
libxi-dev libxcursor-dev libxinerama-dev libxrandr-dev
Check the boxes in the UI (only one at a time) to apply the corresponding erosion algorithm. Best results are obtained by the following sequence: erosion -> thermal -> deposition
Alternating this sequence with the x2 upsampling gives great amplification results.
Presets of sequence of erosion are also available in the app ("Results" buttons)
