Dune generation with World machine

Remember how we generated our first terrain?

It was pretty for a desert landscape but it lacked sand dunes and we are going to add them now.

First of all we need the dune generator macro made by nikita, download it and load it in your World Machine macro library.

Let's start with the previous terrain that can be found in the first terrain post desert2.tmd.

Add two dunefield macro to the project, combine the first one with the heightfield output of the erosion block with a ratio of ~0.985. This will add some small dune like details to our terrain.


The second dunefield is here to add some macro changes to the terrain (big dunes). So to achieve this we will blur the output of the second dunefield macro, and combine it with the result of the last combination with also a very high ration (~0.92).

After some parameter customization you're done !

Dune result

I added a angle selector for the blendmap in order to simulate the wind effect on the dune facing it.

I hope it will look good with sand textures!

GitHub mark Download it on GitHub.