Latest news
TutorialsUnreal Engine

How to Create Landscape Materials and Foliage in Unreal Engine

This guide walks through creating layered surfaces with Unreal Engine’s Landscape material nodes and adding vegetation to a scene with Foliage Mode. It also covers density and visibility settings.

Architectural visualization of a modern pavilion surrounded by layered terrain and plantsAI image
Representative image, generated with AI.Image: 3dsınıfı / FCA AI

In brief

  1. Landscape Layer Blend can combine multiple surface layers using weight-, alpha-, or height-based methods.
  2. A Landscape Layer Info asset must be created for each target layer you want to use in Paint mode.
  3. Foliage Mode lets you paint Static Mesh and Actor types into a scene.
  4. Static Mesh foliage can benefit from hardware instancing; Actor Foliage has a rendering cost similar to placing regular Actors.

What will you learn in this guide?

In this tutorial, we’ll cover two key tasks for an outdoor scene: creating a material that blends multiple surface layers on a Landscape, and placing foliage in the scene. On the material side, you’ll learn how layer names are matched, how weight and alpha blending differ, and how height maps contribute to transitions. Then we’ll move on to adding Static Meshes with Foliage Mode, adjusting the paint brush, and evaluating the density and visibility of existing instances.

Rather than limiting the terrain to a single texture, this approach lets you use different materials—such as grass, soil, rock, or snow—in the same Landscape material. Foliage can be used to quickly distribute plants and other repeating meshes across open areas. Considering both together makes it possible to control terrain and landscaping at different scales in architectural visualization.

Requirements and preparation

The source guides are official Epic Games documentation for Unreal Engine; they don’t specify a particular engine version. They also don’t provide account requirements, licensing fees, or minimum hardware specifications. So, we’ll assume you have an Unreal Engine installation that can open a project and a Landscape Actor to work with. If your scene doesn’t have a Landscape yet, create one first; the documentation also recommends sculpting some hills into the terrain.

For the foliage example, you’ll need a Static Mesh in the Content Drawer. On the material side, you can use Texture Sample nodes to connect textures for your layers. If you plan to use height-based blending, you’ll also need the Texture Sample alpha output to provide height information for that layer.

Before you begin, choose clear, distinct names for the layers you’ll use in the material. It’s important that the layer names in the material match the target layer names used in the Landscape Paint tool. If a layer name isn’t defined as a target layer in the Landscape, its weight is treated as zero by the material.

1. Create layers in a Landscape material

Add a LandscapeLayerBlend node in the Material Editor. In the Layers section of the node’s Details panel, use the plus icon to create the layers you need. Give each one a unique name that describes its content, such as rock, soil, or snow. Use the same names for the target layers in the Landscape.

Choose a Blend Type for each layer based on its intended use:

  • LB Weight Blend: Blends layers by weight and isn’t dependent on their order.

  • LB Alpha Blend: Adds an alpha-blended layer over weight- or height-blended layers. These layers are applied in list order; removing a snow layer at the top can reveal the surface layers underneath.

  • LB Height Blend: Adds height-map transition detail to weight blending. For example, soil can show through gaps between rocks where the two surfaces meet.

Connect the LandscapeLayerBlend output to the Base Color input on the material’s main node. For each layer’s Layer input, you can connect a Texture Sample’s main output or a more complex material network. For layers using height blending, connect the Texture Sample’s alpha output to the corresponding Height input. Use the Preview Weight values on the node to preview different blending weights in the Material Editor.

2. Prepare layers for painting

Setting up the nodes in the material doesn’t by itself create a paintable target layer. For a layer to be available in the Landscape Paint tool, it needs an associated Landscape Layer Info asset. Create and assign the target layers and these assets in the Landscape Paint workflow.

Before layer weights reach the material, they may also be modified by the Landscape’s weight-blending system during editing. The total weight of layers using Weight Blending won’t exceed 1.0; when one layer is fully painted, other weight-blended layers can drop to zero. This means removing a fully painted layer may not automatically reveal another one. If painting produces unexpected results, first check that the target layer names match and that the Layer Info asset is assigned.

3. Add a foliage type and paint

You can switch to Foliage Mode from the Modes menu or use the Shift+3 shortcut. Find the Static Mesh you want to use in the Content Drawer and drag it into the Mesh List field in the Foliage panel. Then select the Paint tool. Adjust the distribution using the brush size, point density, and placement settings in the foliage type’s details.

In Epic Games’ example workflow, the brush size is set to 128, Paint Density to 0.3, and Radius in the foliage details to 100. The same example uses a minimum Scale X of 0.4 and a maximum of 0.8 to vary the size of the instances. These aren’t required settings or values that suit every scene; they’re starting points from the documented example. Select the mesh, then paint on the Landscape by holding down the mouse button.

Foliage tools aren’t just for adding instances. In the Paint tool, hold Shift to erase the selected type; use Reapply to reapply some parameters to existing instances, or Single to place one instance at a time. The filter options determine whether the tools affect Landscapes, Static Meshes, or other supported surfaces.

4. Review density, visibility, and performance

Static Mesh Foliage instances can be rendered in groups using hardware instancing. According to Epic Games’ documentation, this approach makes it possible to process many instances in a single draw call. Actor Foliage has a rendering cost similar to placing regular Actors in the scene, and high density can cause performance problems. For repeating plants, consider the type and density in relation to the scale of your project.

End Cull Distance in the foliage details can stop clusters from being rendered beyond a certain distance, but they may disappear abruptly when they pass out of range. Start Cull Distance and PerInstanceFadeAmount in the material can be used to fade instances over distance. The source explains that this node can be connected to opacity or masking values in the material to make instances gradually become invisible. Meshes with Nanite enabled aren’t affected by this culling distance or instance fading.

To change foliage density at runtime, enable Enable Density Scaling in the Scalability section of the Static Mesh foliage type, then use the foliage.DensityScale command. In World Partition maps, the default Foliage Instance grid size specified in the documentation is 256 meters, and this value is separate from the World Partition grid size. The scale of the map and the tools in use may affect whether these settings need to be reviewed.

Common mistakes

One common issue is a mismatch between the layer name in the material and the target layer name in the Landscape. In that case, the weight read by the material may be zero. Another is failing to create a Landscape Layer Info asset associated with the target layer for painting. If layers aren’t blending, verify these two assignments first.

If a height transition looks flatter than expected, check that the layer’s Blend Type is set to LB Height Blend and that the Texture Sample alpha output is connected to the Height input. On the foliage side, account for the performance impact of using Actor Foliage at high density. If instances disappear all at once at a distance, check the culling settings and the fade connection in the material; note that this culling behavior doesn’t apply to meshes with Nanite enabled.

Next steps

Start by testing the look with a small number of layers and a low amount of foliage. Try different Preview Weight values in the material, and observe the brush density and foliage details in the scene. Then evaluate layer transitions, plant distribution, and visibility at a distance separately. For large World Partition scenes, review the Foliage Instance grid settings based on your project’s needs. Checking both near and distant views after each change helps you consider visual decisions alongside performance behavior.

Sources and licensing

This content has been adapted into Turkish based on Epic Games’ official documentation titled “Landscape Materials in Unreal Engine” and “Foliage Mode in Unreal Engine.” The source records list the license status as “free”; however, because they don’t name a specific open license, no particular license type is claimed here.

Sources

2 sources
D
dev.epicgames.comdev.epicgames.com/documentation/en-us/unreal-engine/landscape-materials-in-unreal-engine
Summary
D
dev.epicgames.comdev.epicgames.com/documentation/en-us/unreal-engine/foliage-mode-in-unreal-engine
Summary

Source texts are not republished; short quotes are marked, everything else is our own summary and commentary.

3dsınıfı’s take
3dEditor’s assessment

This workflow provides a useful foundation for architecture firms and students who want to manage terrain surfaces and plant distribution in the same project for outdoor visualizations. Layered materials can help control surface transitions without relying on a single texture, while Foliage Mode can speed up the placement of repeating meshes.

For teams in Turkey, the key is to test scene density and foliage types on the hardware used for the project. The sources don’t specify system requirements or pricing, so no assumptions should be made about performance or licensing costs. In particular, Actor Foliage density and culling behavior should be checked before production.

Frequently asked questions

How do you blend layers in an Unreal Engine Landscape material?

Add a LandscapeLayerBlend node in the Material Editor, name the layers, and choose a Blend Type. Connect Texture Sample outputs to the Layer inputs, and make sure the target layers are also defined in the Landscape.

How do you open Foliage Mode in Unreal Engine?

Select Foliage from the Modes menu or use the Shift+3 shortcut. Add a Static Mesh to the Mesh List field in the Foliage panel, then paint it onto the Landscape.

Why do foliage instances suddenly disappear in the distance?

End Cull Distance can prevent clusters from being rendered beyond the specified distance, which may cause them to disappear abruptly. Start Cull Distance and PerInstanceFadeAmount can be used to fade them over distance.

Comments and the forum are in Turkish.Join the discussion
+

Related news