Room Ground and Roads¶
Summary: Dungeon rooms stand on static mesh ground that uses one master material,
M_StaticMesh_Layered_RVTBlend. It blends up to four texture layers by vertex colour and texture height. Roads are spline mesh decals placed withBP_SplineRoadand drawn byM_Road_TrackMud. This page covers the opt-in switches on both masters (layer tints, a fourth layer, anti-tiling, broad brightness, an organic road edge), what each costs, and three traps that make a room render differently in the game than in the editor.
Table of Contents¶
- How the Ground Is Built
- Ground Master Switches
- Roads
- Traps
- Source References
- Related Systems
- Recent Changes
How the Ground Is Built¶
vertex colour ──────────┐
G, B (layers 2, 3) │ ┌────────────────────────────┐
R (layer 4, opt-in)├────▶ │ per-layer BC / N / ORM │
texture height (BC.a) ──┘ │ × Tint_LayerN │──▶ HeightLerp chain ──▶ GBuffer
│ anti-tiled UV (opt-in) │ │
│ parallax (UsePOM_LayerN) │ └──▶ RuntimeVirtualTextureOutput
└────────────────────────────┘ (only if the component lists an RVT)
Layer 1 is the base. Each later layer is painted in with its vertex colour channel and joined to the layers below by height, so moss fills the low ground first and stones keep their tops. Every new feature sits behind a static switch that is off by default. A room that never turns one on renders exactly as before. Only the tints cost something, as the table below shows.
Ground Master Switches¶
Set these on the room's material instance, not the master.
| Switch / parameters | What it does | Off | Cost when on |
|---|---|---|---|
Tint_Layer1..4 (colour, always there) |
Multiplies a layer's base colour, so one texture set can serve several looks. The texture keeps the neutral colour and the instance picks the shade | White = unchanged | 8 pixel instructions on every instance (489 → 497), even at white |
UseLayer4 + BC/N/ORM_Layer4, tiling, height bias, UsePOM_Layer4 |
A fourth layer painted with vertex R, blended over the other three | Old shader | One more texture set |
AntiTile_Layer1..4 |
Hides a texture's repeat. Per pixel, each layer shows one of several randomly shifted, turned and scaled copies. Where two copies meet, one sinks under the ground as the next rises, so they join along their own relief instead of a straight line | Old shader | Noise, plus two height reads where copies meet; parallax reads both copies there |
AntiTile_Patch, AntiTile_Copies, AntiTile_Blend, AntiTile_Scale |
Shared knobs: how far one random band runs (tiles), how many copies per band, how wide the hand-over is, how much a copy grows or shrinks | ||
AntiTileRotation_LayerN |
How far each layer's copies may turn (1 = a full turn; 0 keeps laid stones aligned) | ||
MacroBrightness + _Amount, _Size |
Lifts and lowers the blended colour by up to _Amount over _Size metres, so a wide field has lusher and drier patches |
Old shader | A few instructions |
All four new switches on compile to about 998 pixel instructions (launcher 5.8.3). Measured on the art lab ground: anti-tiling adds +0.015 to +0.067 ms of ground shading on the PC, and +0.17 to +0.27 ms on the Steam Deck. Turning any switch on in a game room is a look change: judge it at the game camera and do a Deck run first.
Roads¶
BP_SplineRoad lays 2.56 m spline mesh segments along a spline. Its construction script gives each segment its
index (SectionIndex, custom primitive data 0) so the road texture runs on along the spline instead of restarting
at every segment.
M_Road_TrackMud has a static switch Organic Edge (off by default: 881 pixel instructions off, 907 on). With it
on, the road's edge stops running parallel to the spline:
| Parameter | Effect |
|---|---|
EdgeZone |
Share of the half-width at each side where the edge may run |
EdgeWobble, EdgeWobbleSize |
Big swelling and narrowing (world noise, metres, plus an octave at a third) |
EdgeGrain, EdgeGrainSize |
Fine breakup of the line itself |
EdgeHeight, EdgeHeightMid |
The road texture's own height decides where it thins first, so the edge follows its slabs and cracks |
EdgeMask |
How much the texture's own outline still counts |
EdgeSinkWidth, EdgeSinkStrength, EdgeSinkDarken |
A bank just inside the edge tilts down into the road and darkens, as if the grass stood above it |
EdgeCrease |
A thin dark crease where grass meets road, on both sides |
The inside of the road stays fully covered: the edge never turns the road see-through.
Traps¶
| Symptom | Cause | Fix |
|---|---|---|
| A value set by a construction script shows in the editor viewport, but PIE or a cooked build reads the material default (roads restart their texture every segment) | Set Scalar Parameter for Custom Primitive Data writes runtime data that is never saved. PIE copies the level without it. Cooking and level streaming don't rerun construction scripts |
Use Set Scalar Parameter for **Default** Custom Primitive Data, then re-save every level that places the Blueprint so the value is stored. Test in PIE through the dungeon, not the viewport |
| A plant stays sunlit in a tree's or character's shadow while everything around it darkens | Its foliage material has subsurface opacity (SS Opacity) 0. With virtual shadow maps that makes the pixel fully see-through to shadows |
Give foliage SS Opacity 0.1 (the grass's value): a thin leaf still glows a little, but a shadow from a metre or more away holds |
| Objects that blend into the ground (rock feet, plant roots, decals) turn black at the blend | They sample a runtime virtual texture that nothing writes there: no RVT volume covers the room (true of every forest room), or the writer is a Nanite mesh (Nanite meshes never draw into an RVT, with no warning). The ground master only writes the RVT when its component lists one | Keep blends off in rooms without a working RVT. See RVT Landscape Blend |
Blueprint construction scripts can't be edited from Python (graph nodes are protected). Eternal.BP.SwapCall
<Blueprint> <OldFunction> <NewFunction> points every call of a function at a sibling with the same inputs, keeping
links by pin name, then compiles and saves.
Source References¶
| Component | Location |
|---|---|
| Ground master | Content/MaterialLibrary/Landscape/M_StaticMesh_Layered_RVTBlend |
| Road decal master | Content/Art/Levels/Forest/Materials/Road/M_Road_TrackMud |
| Spline road | Content/Level/Tools/BP_SplineRoad |
Eternal.BP.SwapCall and the other Eternal.BP.* graph commands |
Source/ProjectEternalEditor/Private/BlueprintTools/BlueprintGraphEditCommands.cpp |
Related Systems¶
- RVT Landscape Blend - how meshes read the ground's colour through a runtime virtual texture
- Enemy Performance - the Deck's Low material branch, which skips the ground's parallax
Recent Changes¶
| Date | Change | Impact |
|---|---|---|
| 2026-10-16 | Ground master: layer tints, layer 4, anti-tiling, broad brightness. Road master: Organic Edge. Spline roads store their segment index; the forest rooms re-saved with it. Forest ferns, ground cover and nettles take shadows; forest flower shrubs no longer blend toward the empty RVT | Off by default except the tints (+8 instructions, no visible change); road textures no longer restart per segment in the game |