5. Painting Landscape Materials

With some Actors in the Level, it's now time to add some variation.


With the Landscape material now created, it is now time to apply that Material to the Landscape and begin using the Landscape Paint tools to paint the Landscape.

Landscape Painting Prep

Before we can begin painting the Landscape, there are a few things that we have to setup up first. The first thing that we have to do is apply our Landscape Material to the Landscape. This can be done in the following simple steps.

  1. First, find our Material in the Content Browser. This should be located under a folder labeled Materials that was created in the previous section. When you find it, make sure that you click on it so that it is selected.


  2. With the Landscape Material selected in the Content Browser, select the Landscape in the world by clicking on it. Then, in the Details panel, expand the Landscape section and look for the Landscape Material input.


  3. Apply the Material to the Landscape using the Use Selected Asset from the Content Browser arrow icon.


  4. When completed, you should have something that looks like the following.


    The black lines that you are seeing in the image above come from having Un-Built lighting on the Landscape. If you re-build your level's lighting, the black lines will go away.

With the Landscape Material now applied, it is almost time to stat painting but before we can do that, we must first create and assign three Landscape Layer Info Objects. If you try to paint before you assign the Landscape Layer Info Objects, you will get the following warning message.


To fix this, we need to create three Landscape Layer Info Objects, one for each Texture that we wish to paint by doing the following.

  1. First, make sure that you are in Landscape Paint mode.


  2. On the Modes toolbar, under the Target Layers section, you should see three inputs labeled Soil, Grass, and Snow.


  3. To the right of the names, there is an icon of a Plus Sign. Clicking on the Plus sign icon will bring up another menu that will ask what type of layer you would like to add. For this example, please pick the Weight-Blended Layer (normal) option.


  4. When you select the Weight-Blended Layer (normal) option, you will be prompted with a pop-up box that is asking you where you want to save the newly created Landscape Layer Info Objects. Select the Resources folder that is under the Landscape folder and then press the OK button.


  5. Once you have done that for the first one, repeat the same process for the other two. When completed, you should have something that looks like the following.


Now with the Landscape Layer Info Objects created and applied, we can begin to paint our Landscape.

Painting the Landscape

Before you begin to paint the Landscape, here is a re-cap of some of the most used commonly used keyboard and mouse inputs that you will use when painting the Landscape.

Common Controls


Left Mouse Button

Perform a stroke that applies the selected tool's effects to the selected layer.


Undo last stroke.


Redo last undone stroke.

The main tool that you will use for actually applying textures to your Landscape is going to be the Paint Tool. To find out more about all of the tools that you can use to paint on the Landscape or if you want to know more about how they work, please check out the Paint Mode documentation.

To apply a Material to the Landscape, hold down the Left Mouse Button to apply whatever Material you have selected to the area under the mouse.

To select a new texture to paint, first make sure you are in Landscape Painting Mode then on the Modes panel, under the Target Layers section, select which texture you want to paint with by clicking on it in the list. Whichever texture is highlighted in orange will be the texture that is painted to the Landscape. In the image below, the Soil is what is highlighted in orange so this means that this is the texture that will be painted to the Landscape. To select another texture to be painted, all you have to do is select it in the list and begin painting.


When completed with the painting, you should have something that looks like this.


Possible Issues and Workarounds

When you first start painting on your Landscape you might run into an issue where the base Material disappears or turns black, like in the following picture:


This is happening because there is no Paint Layer data on the Landscape when you first start to paint. To fix this issue, you need to continue to paint over the Landscape generating the Paint Layer data as you go along. If you would like to fill in the entire Landscape, first select a large brush size, like 8192.0, pick a layer that you want to use as a base and paint over the entire Landscape once. This will create Paint Layer data and allow you to continue to paint without anything turning black.

Another issue that you might run into is that the scale of the Textures that are used on your Landscape are either too big or too small. To fix this, go to your Landscape Material, open it up, and select the Landscape Coords node. With that node selected, adjust the Mapping Scale and re-compile the Material. Once the Material is re-compiled, check the scale out in the viewport. If the scale is not to your liking, then repeat the processes above until you get the results you want.


Here is a comparison between a Mapping Scale of 0.5 on the Left and 7.0 on the Right.


Select Skin
Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback