Docs

Guides

Landscapes

Set up M_ReliefPOM_Landscape with four height-blended paint layers inside one parallax trace.

One trace for up to four paint layers: at every step the heights of the layers present at the pixel are sampled in their own world-aligned frames and height-blended, so pebbles poke through mud where layers meet instead of cross-fading. Colour, normal and ORM are blended at the hit with the same weights.

  1. Right-click M_ReliefPOM_Landscape and create a material instance (or start from MI_ReliefPOM_Landscape_Demo).
  2. For each layer group 01 Layer1 to 04 Layer4, set the four textures (L1_BaseColor, L1_Normal, L1_ORM, L1_Height and so on), L1_TextureSize_m (the texture's real size in metres) and L1_HeightScale_cm.
  3. Assign the instance as the Landscape Material of your landscape.
  4. In Landscape mode, open Paint. If the target layer list is empty, click Create Layers From Assigned Materials: Layer1 to Layer4 appear. Give each layer a layer info: pick the shipped LI_ReliefPOM_Layer1 to Layer4 (their layer names match), click Create Layer Info on the layer, or use Auto-Fill Target Layer Assets. Keep the blend method weight-blended.
  5. Right-click Layer1 and choose Fill Layer to make it the base, then paint the other layers.
Parameter (group) Default What it does
L1..L4_TextureSize_m (01-04) 2 / 2.16 / 1.5 / 1.8 Real size of each layer's texture in metres (world-aligned, no UVs needed).
L1..L4_HeightScale_cm (01-04) 6 / 8 / 3.5 / 8 Relief depth of each layer (multiplied by MPC_ReliefPOM.DepthScale). MI_ReliefPOM_Landscape_Demo sets layer 1 (FarmSoil) to 10, the FarmSoil preset's depth.
L1..L4_Brightness (01-04) 1 Base colour multiplier per layer.
L1..L4_Tint (01-04) white Base colour tint per layer (white = as scanned).
L1..L4_Saturation (01-04) 1 Saturation per layer, 0-2: 0 = grey, 1 = as scanned, 2 = more saturated.
L1..L4_Roughness (01-04) 1 Roughness multiplier per layer, 0-2: below 1 = shinier (for example wet), above 1 = drier.
HeightBlendWidth (05 Relief) 0.2 Width of the height blend between layers. Smaller = sharper, more poke-through.
Enable, Quality, HeightChannel (05 Relief) 1, 1, 0 As in Master material parameters.
Cavity, FlankShading, Dither, DetailShading (05 Relief) 0.75, 1, 1, on As in Master material parameters.
DisplacementMip (08 Displacement) 7 Mip of the layer height maps that drives Nanite tessellation displacement (below).
FadeStart_m, FadeEnd_m (05 Relief) 20, 35 Distance fade.
BaseColorTint (05 Look) white Multiplies the base colour of all layers.
Self-shadow, Look, Custom Quality As in Master material parameters.
DebugView, DebugMode (09 Debug) off, 0 As in Master material parameters; mode 5 shows the paint-layer weights (Layer1 red, Layer2 green, Layer3 blue, Layer4 yellow).

The defaults are FarmSoil, RiverPebbles, CrackedMud and AngularRocks. At their defaults the per-layer Tint, Saturation and Roughness leave each layer as scanned (a re-render of L_Demo's landscape matched the render without these controls within render noise); in a test on L_Demo's landscape a red L1_Tint, L2_Saturation 0 and L3_Roughness 0.15 turned the soil red, the pebbles grey and the cracked mud wet and shiny. Renaming layers: the paint layers are named Layer1 to Layer4. To use your own names, duplicate M_ReliefPOM_Landscape and change the Parameter Name of its four Landscape Layer Sample nodes. Landscape layers have no HeightRangeMin/Max or InvertHeight: use height maps that span 0..1 (the pack's do). Cost grows with the number of layers present at a pixel, so a pixel with one layer pays for one height read per step.

Nanite landscape and tessellation displacement. The landscape master works on a landscape with Enable Nanite on, and it can displace the geometry with Nanite tessellation (on by default from UE 5.5; in UE 5.4 first add r.Nanite.AllowTessellation=1 and r.Nanite.Tessellation=1 under [/Script/Engine.RendererSettings] in Config/DefaultEngine.ini and restart the editor): in your landscape material instance, open Material Property Overrides, tick Enable Tessellation and set Displacement (Center 0.5). Unreal applies Nanite displacement in the landscape's local space, so Magnitude is in landscape units, not centimetres: Magnitude = the total range you want in cm divided by the landscape's Z scale. At the default Z scale of 100, Magnitude 0.2 moves the surface by up to 10 cm each way (Magnitude 20 would be 10 m). The displacement reads each layer's height map at DisplacementMip (7 = 16 x 16 texels of a 2K map, 9.4 to 13.5 cm per texel on the four demo layers: lumps about 20 to 27 cm across that repeat with every texture tile and, under a low sun, throw soft blotchy shadows; 8 or 9 gives a broader swell), blended by the paint weights; the relief then traces the stones on top of the displaced surface. Mips 2 to 4 displace the stones themselves (real silhouettes, more triangles); the relief then doubles them, so lower that layer's depth or turn the relief off there. Without Enable Tessellation the displacement costs nothing. Your own displacement works the same way: the relief uses the displaced surface's own screen derivatives.

L_Demo's landscape: RiverPebbles in the stream bed blend into the CrackedMud path and FarmSoil.