There will be times your Landscape will require that you use external programs to create both the heightmap and layers that you will need. Unreal Engine accommodates this style of workflow by allowing for the import of custom heightmaps and layers.

If this is your first time using the Landscape tools, you might want to check out the Landscape Overview first.
Layers
Landscape layers are special textures that can contain both heightmaps and color data. Which can be used customize the look and feel of your Landscape.
Layer Formats
Landscape layers can be imported from external programs via implementation of the ILandscapeHeightmapFileFormat
and ILandscapeWeightmapFileFormat
interfaces. The editor's existing support for image-based importing has been converted to use this interface and is fully supported. Images for the built-in formats are still required to be grayscale, 8 bits per pixel, single channel files in either .PNG or .RAW format. If you are creating layers in Photoshop, use the following settings when creating a new document:

Layer Import
Importing Layers that were made in an external application provides you with the flexibility to use your preferred terrain workflow, but you first need to make sure that a few things are set up in order to get everything to work smoothly.
-
First, make sure that you have created a Landscape to work with. If you have questions regarding the Landscape creation process, check out Landscape Creation.
-
Next, make a new Material. For this example, we will be making a very basic Material that could be easily be expanded upon if needed. The Setup for your Material should look something like this.
Number | Description |
---|---|
1 | LandscapeLayerCoords |
2 | TextureSample: T_Ground_Grass_D (Found in StarterContent/Textures) |
3 | TextureSample: T_Ground_Gravel_D (Found in StarterContent/Textures) |
4 | TextureSample: T_Rock_Slate_D (Found in StarterContent/Textures) |
5 | LandscapeLayerBlend |
-
Once the Material is complete, apply it to the Landscape Actor. This will turn your whole landscape black.
-
To fix the issue, you will need to add some Layer Info to your Landscape Actor. For this example, create one Layer Info object for each of our three layers. To read more about Layer Info objects, refer to the Layer Info Objects page.
-
When completed, your Target Layers section of your Landscape panel should look something like this.
-
Now it is time to import our custom layer. To do this, right-click on the chosen Target Layer and select the Import from file option from the pop up menu. This will prompt you to choose the .PNG or .RAW file that contains your custom layer data. Your custom layer file should be the same resolution as your Landscape Actor's Overall Resolution that was set when you created it (the default is 505 x 505).
-
If your layers are not output at the correct size, you will see the following warning:
To fix this issue, return to your image editing software and resize your file to match the correct Landscape extent as displayed by the warning message.
Heightmaps
Using external tools to create a base heightmap to use inside UE can be a excellent way of speeding up the Landscape creation process. Programs such as World Machine and Terragen can quickly create the base heightmap for your Landscape. Which can then be imported, cleaned up, or modified using the editing tools inside Unreal Editor, making it a better fit with the world and desired game play.
For more information on importing and exporting heightmaps, see Importing and Exporting Landscape Heightmaps.