Creating UE4 Landscapes with World Machine – Part I – Heightmap with World Machine

Creating UE4 landscapes with world machine 


  • World Machine (Either trial or full bought version)
  • Unreal Engine 4.9.2 or above (I’m not sure if you can do this with earlier versions, but I’m using 4.9.2)

Note: with the trial version of World Machine, you will only be able to make landscapes of the size 512×512


With the use of World Machine, it’s extremely easy for us to create a big, realistic landscape inside UE4 (Unreal Engine 4). World Machine is a software that allows you to create height maps which you can import into UE4 and use as the landscape for your game. World Machine has many functions that make it easy for us to create extremely realistic terrains, without actually knowing much about the geographic specs of terrain.

The tools provided by World Machine are easy to use, simple, and extremely strong.

World Machine

World machine can be downloaded using this link (You should be able to download a trial from their website). Follow the instructions and install WM (World Machine).

Note: I won’t go into details about the interface as this is out of the scope of this post. If you wish to know further about WM, tell me in the comments.

Generating the heightmap

First, we’ll take a look at how I managed to create the height map and the slope map that you see beneath. These maps were created by combining various components in WM, and exporting the output that we receive. Let’s take a look at the components I use.
Refer to the pictures below:


As you can see, I have a Slopemap and a Heightmap. The heightmap defines the height of the landscape and the slopemap defines the sharp slopes. (We will use the slopemap for texturing later on). Let’s take a look at how I managed to create these two maps with World Machine.


In the image above you can see the two components Voronoi and Erosion. Voronoi is the component that creates random but very neat mountains. You can add this component by going to the Generator tab within WM. (If you can’t find the Device View you can press F5). Play around with the settings of the Voronoi until you see something that looks nice.

From here, you can add the Erosion component. This component, if you look at the Heightmap, is the component that adds the “sediment” running down the mountains. Play around with the settings, until you find a nice amount of erosion. (I tend to use the preset called “Classic WM + Power“, as it looks neat)

Notice how the Height Field (Primary Output) of the Voronoi is connected to the Height Field (Primary input) of the Erosion. Basically you take last thing that effected the Heightmap, and plug it into the next component, just like the image above.

When you’ve found something that looks interesting, and suits your needs, we can go to the next phase of the WM Heightmap generation.

Heightmap output

Now that we managed to create the desired landscape, we need to save the heightmap and the slopemap values, so that we can import these into UE4. Heightmaps needs to be saved as .raw16, and the slopemap needs to be saved as a .bmp.

In order to save these information, we need to add some Height Output Components. These can be found under the tab Output within the Device View (F5). Place these accordingly:



To save the heightmap, you simply take the Primary Output of the last thing that affected your heightmap (this example: Erosion), and place that into the Primary Input of the Height Output as shown above. Double-Click the height Output. A small window will appear:


Make sure to choose the RAW16 from the right. Give the file an appropriate name, and press Set. Here, simply place the file where ever you wish. DON’T press Write output to disk just yet, we still have a few options to change.


Now that we have the heightmap, we need the slopemap. As mentioned before, the slopemap will define the texturing of the landscape (I tend to use slopes instead of heights, but you can use what ever you desire). To find the Select Slope go to the Selector tab. From here select the 2nd option; Slope. (If you’d rather use the height, simply choose the 1st option; Height).

Now take the last thing that affected your heightmap (Still, the Erosion) and place that value into the Primary Input of the Select Slope. If you Double-Click the Select Slope, you can tweak the settings to the desired slope amount. Play around with these until your slopemap looks desirable. Now do the same as you did with the Height Output. (You can simply Copy-Paste the existing Height Output).

Plug the output of the Select Slope, into the input of the new Height Output so your Device View looks like mine. Double-click the Height Output and choose BMP, like the image below:


And congratulations! You have just created the two information images that we need to import into UE4, to create our landscape.

Now there’s only a few settings you need to consider. The size of your landscape within UE4, need to match the settings of the WM terrain. Consider the following: you want to create a big open world landscape inside UE4, let’s say you want the landscape to be 4065 x 4065, make sure the settings in WM are set to this size (refer to the image below)

Landscape settings within UE4

To apply these changes within WM, you need to press the button: World Extents and Resolution:


When this button has been pressed, you’ll be presented to the Project Settings window. In the Normal Build Resolution press the button that says Custom. Now, in the text field above this button, write the desired resolution (You only need to type 4065 and NOT 4065×4065 as WM terrain are always prefect square, eg. 1×1). Refer to image below:


Note: the bigger the resolution you choose, the longer it’ll take to build your World Machine terrain. I’ve created a more complex terrain (refer to image below) and this takes approximately 30 minutes. So make sure to plan your landscape size within UE4, before building the WM landscape so you don’t need to build multiple times.

A bit more complex landscape using even more different components

Note: Sometimes you’ll need to check the terrain within UE4 to make sure the terrain looks ok. More on that in Part II.

Now press the big green button in the menu aaaaand TAADAAAAH. Now you can double-click those two Height Output and press Write to disk!


To be continued…

Next time we’ll import these images into UE4 to create our landscape! If you have any question concerning how to use World Machine, please don’t be afraid to comment below and I’ll do my best to answer you. If you wish to learn more about World Machine, check out their website at, or tell me in the comment if you wish to see a post specific for World Machine.

Thanks for reading, and I’ll talk to you guys next time!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s