Docs

Guides

The master material

Every parameter of M_GroundBlend_Rock, group by group: rock, ground set, blend, terrain capture, performance, debug and rock colour.

Content/GroundBlend/Materials/M_GroundBlend_Rock is an opaque master with Use Material Attributes, Used with Nanite and Used with Instanced Static Meshes on. Make instances of the presets (Ground presets) or of the master; every control below is an instance parameter. Defaults are the master's; the presets override the ground set, Ground Tile Size, Blend Height, Blend Noise and Noise Size.

01 Rock#

Parameter Default Range What it does
Rock BaseColor grey The mesh's base colour texture (sRGB).
Rock Normal flat The mesh's normal map, DirectX (Unreal) convention.
Rock ORM AO 1, rough 0.8, metal 0 Packed texture: R ambient occlusion, G roughness, B metallic.
Rock Tint (1, 1, 1) Colour multiplier on the rock.
Rock Brightness 1 0.2 to 2 Brightness multiplier on the rock.
Rock Roughness Scale 1 0.2 to 2 Multiplier on the rock roughness.
Rock Normal Strength 1 0 to 2 0 = flat, 1 = full normal map.
Detail Texture T_GB_RockDetail_NA World-aligned rock detail for close views: red and green = detail normal, blue = detail albedo (0.5 = no change; pits darker). Made from the CC0 worn_rock_natural_01 scan (pits and grain).
Detail Tile Size 120 10 to 500 World size of one detail tile in cm. It is projected from the world X, Y and Z planes, so it has no UV seams and the same density on every mesh.
Detail Normal Strength 1.2 0 to 2 0 = off, 1 = full detail normal. The outcrop instances use 2 (with a 100 cm tile), as their own textures are coarser.
Detail Albedo Strength 0.45 0 to 1 0 = off, 1 = full brightness variation from the scan. The outcrop instances use 0.6.
Detail Fade Distance 2500 500 to 20000 Camera distance in cm where the detail has faded out.

02 Ground Set#

Parameter Default Range What it does
Ground BaseColor grey Ground base colour: use your terrain layer's texture.
Ground Normal flat Ground normal map (DirectX).
Ground Roughness roughness 1 Ground roughness in the red channel (Masks compression).
Ground Tile Size 200 25 to 2000 World size of one ground tile in cm: the same tile the terrain layer uses.
Ground Tint (1, 1, 1) Colour multiplier on the ground set.
Ground Saturation 1 0 to 2 0 = grey, 1 = texture colour.
Ground Normal Strength 1 0 to 2 0 = flat, 1 = full ground normal.
Ground Roughness Scale 1 0.2 to 2 Multiplier on the ground roughness.

03 Blend#

Parameter Default Range What it does
Blend Height 30 0 to 300 Height of the band at the foot, in cm: the ground fill on ledges, the dust film everywhere.
Blend Noise 10 0 to 100 Amplitude of the band's broken top edge, in cm.
Noise Size 60 5 to 500 World size of the edge noise features, in cm.
Contrast 0.35 0.02 to 1 Softness of the fill line: small = sharp.
Soft Falloff 0 0 to 1 0 = height-aware fill (crevices first), 1 = a plain soft ramp.
Slope Bias 0.3 -1 to 1 Band x (1 + Slope Bias x up-facing): positive = taller band on up-facing faces, negative = taller on vertical faces.
Dust Up 0.25 0 to 1 Ground on up-facing ledges near the foot.
Amount 1 0 to 1 0 = no blend, 1 = full.
UseVertexPaint off switch On: the mesh's vertex colour scales the blend, so you can paint it stronger or weaker by hand: red = blend amount, green = band height (white = as set here, black = no blend or no band). Off (default): vertex colours are ignored and the switch costs nothing, so meshes that already carry vertex colours are untouched.
Contact Darkening 0.1 0 to 1 Ambient occlusion (and a little darkening) in the thin contact crease at the ground line.
Seam Normal Match 0.8 0 to 1 Near the contact the foot takes the terrain's normal, so it is lit like the ground beside it.
Crevice Gain 0.6 0 to 2 How strongly the rock's dark crevices fill with ground first on ledges (0 = even band).
Fill On Steep Faces 0 0 to 1 A textured ground fill on steep and undercut faces, as a fraction of the band (at most 10 cm). Default 0: soil does not climb walls, so walls take the dust film only. Raise it for snow or sand piled against a wall; on very bumpy walls a projected texture can show a short streak at the seam.
Dust Strength 0.85 0 to 1 Opacity of the dust film: the rock keeps its relief and takes the terrain's colour (captured) and the ground's roughness. The last few centimetres at the contact (1.5 x ContactHeight) reach up to 0.9, which softens the contact line (it stays visible, only weaker). 0 = fill only.
Dust Reach 1.75 0.5 to 4 How far up the dust film reaches, as a multiple of Blend Height (the fill itself stays within Blend Height).

These defaults read strongly when the rock and the ground differ in colour or brightness (a dark rock on pale sand, a pale rock on dark soil): the gallery and both maps use them unchanged. On a rock that already has the ground's colour there is little left to change, so the band is quieter there; a contrasting rock colour set (group 07) or a higher Dust Strength makes it read.

Dust Strength: same camera and light, only this value changes (real renders)
Crevice Gain: same camera and light, only this value changes (real renders)
Blend Noise: same camera and light, only this value changes (real renders)

04 Terrain Capture#

Parameter Default Range What it does
UseCapture on switch On: terrain height and colour from the capture actor. Off: flat ground at Fallback Ground Z (no actor needed).
UseCapturedColour on switch Tint the ground set by the captured terrain colour, so the foot matches multi-layer terrain.
Terrain Colour Strength 1 0 to 1 How much the captured colour tints the ground set.
Fallback Ground Z 0 Ground height in cm used when UseCapture is off.

05 Performance#

Parameter Default What it does
UseGroundBlend on Off compiles the whole blend out: a plain rock material at zero extra cost.
ColourOnly off Cheap path: ground colour only, skipping the ground normal and roughness samples.
UseRockDetail on Off compiles the world-aligned rock detail out (three texture reads fewer).
Far Fade Start / Far Fade End 4000 / 9000 Camera distances in cm over which the ground normal fades out.

06 Debug#

Parameter Default What it does
ShowBlendMask off Shows the ground fill in amber and the dust film in blue over grey, self-lit so it reads the same in shadow: exactly where the band sits.

07 Rock Colour#

Parameter Default Range What it does
UseRockColourSet off switch On: the rock takes its colour from the Rock Colour Scan (world-aligned) and keeps its own relief, so one mesh comes in several rock colours. Off compiles it out.
Rock Colour Scan T_GB_RockColour_Basalt_BC Tiling rock colour texture projected in world space: T_GB_RockColour_Basalt_BC, _GreyStone_BC or _Ochre_BC, or your own.
Rock Colour Tile Size 200 25 to 2000 World size of one tile of the colour scan in cm.
Rock Colour Mix 1 0 to 1 0 = the mesh's own colour, 1 = the colour scan.
Rock Colour Relief 0.8 0 to 1 How much of the mesh's own base-colour relief (cracks, baked occlusion, mottling) stays on top of the colour scan.
Rock Colour Saturation 1 0 to 2 0 = grey, 1 = the scan's colour.
Rock Colour Brightness 1 0.2 to 3 Brightness multiplier on the colour scan.

The scan is projected from the world X, Y and Z planes like the detail layer, so it has no UV seams and works on your own meshes too. Cost: +39 pixel-shader instructions over the default when on (723 to 762), nothing when off. Its frame time was not measured separately.

Rock colour sets: one SM_GB_Boulder_05 in its own limestone textures and the three colour sets on the same DryGrass ground (L_Overview row D, real render)