GreyFox Studio · Unreal Engine
DecayForge
Procedural Environment Aging & Dressing
- Unreal Engine 5.7
- C++
- Editor Tools
- Geometry Analysis
- 20 Presets
- Debris
- Decals
- Vegetation
- Snow & Icicles
Designed for dark fantasy, souls-like, horror and any level that has to look old, lived-in and abandoned.
Overview
DecayForge reads the geometry of a level — floors, walls, ceilings, corners, what lies under a roof and what lies under the open sky — and dresses it with what time leaves behind: debris, grime, cobwebs, damp, moss, plants, puddles, mud, snow and icicles.
Everything is driven from one docked panel, in the editor, on the level you already built:
Open the level -> Pick a preset -> Analyze & Generate -> Adjust a layer -> Generate again
Six layers do the work. Each one can be switched on or off, generated or cleared on its own, and set from a single amount slider or from its full list of settings:
| Layer | What it lays |
|---|---|
| Debris | Rubble, shards, bones, dust and dirt gathered in corners and along wall bases |
| Grime | Dirt and lichen along the foot of walls and under ceilings, plus soot, rust, water runs and cracks |
| Cobwebs | Old webs in ceiling corners and along ceiling edges |
| Moisture | Damp stains and moss patches where water would gather |
| Vegetation | Real plant meshes at the foot of walls, in corners, in floor joints and on open ground |
| Accumulation | Mirror puddles, mud, snow with depth, and icicles |
In development
DecayForge is at version 0.9, in beta, and validated on Unreal Engine 5.7.4. The features below describe the current code; documentation and a Fab release will follow.
One click, then as much control as you want
Analyze & Generate reads the current level and rebuilds every layer that is on, in one undo step. Layers that are off are skipped. A layer that cannot generate keeps what it had.
- Deterministic — the same seed on the same level gives the same result. New seed gives another layout.
- Overall amount — one slider from almost clean to heavily decayed, for the whole level.
- Per layer — ON/OFF, amount, Generate, Clear, and a fold of settings. A layer whose settings changed since it was generated says so.
- Lock a layer — a locked layer is kept as it is in the level: Analyze & Generate and Clear all skip it. Keep the debris you like while you try other seeds for the rest.
- New layout per layer — give one layer another arrangement without moving the others.
- Undo everywhere — every Generate and every Clear is a transaction. Clear all is one step.
- Hide generated / Show generated — look at the bare level without deleting anything.
- Simple and Expert views — Simple shows only what is needed to age a level; Expert shows every setting of every layer, the asset library, the diagnostics and the presets.
Your level stays yours
DecayForge only manages what it generated. Hand-placed pieces are not counted, cleared or aged, generated content in other sublevels is not touched, and no mesh or material asset of yours is ever modified.
Smart geometry analysis
The placement is not a random scatter. DecayForge reads static meshes and instanced meshes — rotated, mirrored or without collision — and works out:
- floors, walls, ceilings, inclines and the edges where they meet;
- corners, where debris collects first, and wall bases, where it drifts;
- doors, passages and stairs, which are kept clear;
- what is under a roof and what is under the open sky, by itself: no volume to place;
- which surfaces are Ground, Terrace or Roof, automatically or set by hand per actor.
Dense meshes and Nanite meshes are read through a lighter shape of their own — the Nanite fallback mesh, or a coarser level of detail — instead of being left out.
Draw analysis in viewport shows what was understood — floors, walls, ceilings, inclines and edges each in their own colour — and every layer has a preview before it generates.
Features
Debris
Rubble, shards and dust gathered in corners and along wall bases, from a library of 263 meshes shipped with the plugin (204 pieces and heaps, 17 outdoor pieces, 42 ruin rubble set pieces).
- accumulations built the way they form: a bed of dust or dirt first, then the pieces that lie on it or half buried in it, denser at the wall and thinning into the room
- each accumulation is mostly one material with a little of one or two others
- Objects amount: how much of each pile is things one can name — bones, skulls, staves, roots, chain, rope, rags — rather than dust and chips
- Loose piles made of: Dust, Dirt, Sand or Snow
- Use Ruin Rubble (outdoor): wall-foot heaps, inside and outside corners, trails, piles, rocks, slabs and gravel, laid as set pieces under the open sky
- Open Ground Rubble: groups away from the walls that leave the way between them free
- heaps modelled for a wall or a corner are laid flush against the stone, and nowhere else
- pieces kept in a folder named
Outdoorlie under the open sky only - support, clearance and overlap are checked for every piece; doors stay clear
- no piece on bare floor sinks more than a third of its height
- Large debris is an obstacle: pieces at least 25 cm high and 35 cm wide block the player and navigation; small pieces, heaps and limp things are walked through
- instanced rendering: one batch per mesh
Your own meshes. Point the debris folder at your own library. Names are read by whole words —
_Corner_, _Wall_, Dust, Dirt, Sand, Snow, Rubble — and in the Expert view you can declare your
own words as Heap, Object or Rubble.
Debris aging
Generated debris is aged to sit in the level instead of looking freshly dropped.
- Global aging, Dust and Desaturation, applied live while you drag
- driven per instance, so no material asset is changed
- materials built with the DecayForge aging function get the full effect; any other material gets an overlay approximation
Grime
Dirt and lichen along the base of walls and under ceilings, as decals.
- Wall height, Floor width and Soft edge, in centimetres
- Grime color picker
- five stain families, each with its own amount:
- Soot above torches, lanterns, braziers and candles
- Rust under iron pieces — bars, grates, chains, hinges, shackles
- Water runs down from where a wall meets the ceiling
- Cracks, drawn on the wall without changing it
- Lichen
- Weather Outdoor Walls: under the open sky, walls are aged by the weather instead — rain runs from the top, no soot, a wider foot band, moss on wall tops
- presets can bring their own decal materials and mask texture
Cobwebs
Old webs in ceiling corners and along ceiling edges, each one built for the corner it hangs in.
- every web is its own generated mesh, shaped to the walls it spans
- Presence from subtle to heavy: heavy webs are about twice the size, with thicker dust
- the amount follows the size of the level: 100 % is the most the level may hold
- indoors only: a corner under the open sky gets none
- preview, and Frame a web in the viewport
- no collision
Moisture
Damp stains and moss patches where water would gather, as decals.
- Damp stains and Moss, each with its own amount
- Presence from subtle to heavy: heavy patches are about three times the size, darker, with a pale crust of salts
- outdoors, moss prefers the faces the sun does not reach
Vegetation
Real vegetation meshes: colonies of plants at the foot of walls, in corners, in floor joints and on open ground. Thirty-five plants in ten families ship with the plugin — crack weeds, creeping ivy, fungal clusters, hart’s-tongue fern, liverwort, moss clumps, navelwort, small ferns, wall spleenwort and weed rosettes — plus a ground sprig.
- each species knows where it grows: wet or dry, light or shade, on the ground, at a wall foot or on a wall face, and how large its colonies get
- Species list: switch each one on or off and set how often it appears
- Grow between floor tiles
- Allow Open-Air Growth
- plants never block passages, doors or stairs, and keep clear of grates, stairs and hatches
- roofs are never grown on
- tag any piece
DecayForge.NoVegetationto keep plants off it and away from it - instanced, no collision, no effect on navigation
Your own plants. Select your meshes and Add selected meshes: DecayForge reads the pivot and the placement from each mesh’s shape and adds it to a plant list. Your meshes are not changed.
Accumulation — water, mud, snow and icicles
What the weather leaves on level ground. Each kind is kept apart, so a level can hold all three.
- Water — puddles that are real mirrors: the floor under the water is levelled and smoothed, so it reflects the sky, the walls and whatever stands over it, with a ring of wet stone around the shore. Ripples sets how much the wind moves the surface.
- Mud — wet earth over the floor, lumpy, with water standing in its hollows.
- Snow — patches under the open sky only, broken at their rim into plates and specks. Depth from 0 to 20 cm: at 0 the patches are flat; above, each one is also a low mound that thins out at its edge and stands higher beside a wall, as snow the wind has pushed there.
- Icicles — hang from the top of walls and under roof edges, ledges and lintels, under the open sky only, with their own density. Nine meshes, singles, rows and a cluster; a row is hung only where the edge runs straight, and an icicle never reaches the ground.
- Size from a hand or two across to two metres and more; a puddle is made smaller where the level floor is narrow, and never laid across a step or the edge of a slab
- Puddles under a roof too: a few puddles where a room leaks
- no collision: a character walks through all of it
- part of presets and of zones: a preset can ask for snow, mud or water, and loading it turns the layer on
RenderMeld — contact blending, built in
RenderMeld softens the hard edge where two objects meet: a heap of dirt melts into the floor, a
stone sits in the ground instead of on it. It is a screen effect: your meshes and materials are not
edited. RenderMeld saves prepared copies of the materials it blends in your project, under
/Game/RenderMeld.
RenderMeld is off by default. Until you turn it on, DecayForge changes nothing in the rendering of your project. Use RenderMeld in this project in the panel turns it on: the panel lists what changes and asks first, and the change takes effect when the editor restarts.
- Blend the level ON/OFF: every generated debris batch and every static mesh, in one undo step
- Blend width, Depth tolerance and Maximum radius, applied live
- per-selection ON/OFF in the Expert view
- Diagnostic view to see what is blended with what
RenderMeld requirements
RenderMeld requires Unreal Engine 5.7, deferred rendering and the default lit pipeline. It does not support Substrate or forward shading. While it is on, it changes the rendering of the whole project, not only of what DecayForge generates: static lighting is disabled, so baked lightmaps are not used; Lumen’s material ambient occlusion is disabled; and five engine shaders are replaced by RenderMeld’s own copy, so every shader of the project compiles again at the next start and a packaged game is built with them. Turning it off and restarting puts all of it back. Up to 253 objects get a blend identity of their own; past that number identities are shared, and two objects sharing one do not blend with each other.
20 environment presets
A preset sets every layer for a kind of place, in one click, from a gallery of picture tiles:
| Presets 1 to 10 | Presets 11 to 20 |
|---|---|
| Abandoned Prison | Ruined Monastery |
| Medieval Dungeon | Abandoned Village |
| Ancient Crypt | Battlefield |
| Gothic Ruins | Burned Village |
| Cemetery | Plague Village |
| Abandoned Chapel | Coastal Ruins |
| Ruined Fortress | Mountain Pass |
| Abandoned Mine | Underground Aqueduct |
| Natural Cave | Fortified Gate |
| Ancient Swamp | Ancient Temple |
- presets are data assets: debris, grime, moisture, cobwebs, vegetation, accumulation, aging and seed
- a preset can inherit from another and override only the sections it changes
- Save Current as Preset, Edit preset asset, search by name
- Import and Export as JSON, to share a look between projects or with a team
Zones
One level rarely ages the same way everywhere. A DecayForge Zone is a box with its own full settings: a flooded cellar, a burned wing, a clean chapel inside a ruined keep.
- Add Zone around the selected actors, or in front of the camera
- generate or clear inside one zone, in the rest of the level, or Generate Every Zone in one undo step
- zones are also how a very large level is read in parts
- Add Exclusion Zone: a box with every layer off, which DecayForge keeps away from
- Keep Off, for single pieces: select actors and tick the layers that must leave them alone — Debris, Grime, Cobwebs, Moisture or Vegetation. Stored as actor tags, saved with the level.
- a zone does nothing in a game: it is an editor aid
Diagnostics
- per-layer counts and timings, and totals for the current level
- a list of warnings and errors: meshes that could not be read, limits reached, what was left out and why
- a result line after every generation: what was laid, where, and what was refused
- Generated meshes: how many lots, pieces and triangles the generated debris, plants and icicles come to, with a warning past a sensible budget
- Cull distance and a shadows switch for generated debris, plants and icicles
- a warning when the level has a Landscape, Level Instances or World Partition, saying what DecayForge reads and what it does not
- First steps at the top of the panel for a new user, and a button to the documentation
What stays in your game
DecayForge is an editor tool. What it generates is ordinary level content — instanced static meshes, decals and static mesh actors — saved with the level and rendered like anything else.
- the Runtime module carries only what that content needs: the instanced batches, the obstacle boxes of large debris and the preset data classes
- nothing DecayForge generated ticks; obstacle boxes need no cooked collision data
- generated content is grouped in the outliner under
DecayForge/Generated
Shipped content
| Content | Amount |
|---|---|
| Debris meshes | 263, with 135 materials |
| Plants | 35 meshes in 10 families, plus a ground sprig |
| Icicles | 9 meshes |
| Cobweb materials | 4, with 2 atlases |
| Decal materials | Grime, stains, moisture, puddles, mud and snow |
| Presets | 20, each with its thumbnail |
All of it is plugin-owned content. DecayForge runs on your own levels and your own meshes; it does not depend on any purchased pack.
Requirements
| Requirement | Value |
|---|---|
| Engine | Unreal Engine 5.7 |
| Validated on | UE 5.7.4 |
| Project type | Blueprint-only or C++ |
| Modules | DecayForgeRuntime (Runtime), DecayForgeEditor (Editor), RenderMeld (Runtime), RenderMeldEditor (Editor) |
| Platform | Windows (Win64) |
| Rendering | Deferred, default lit pipeline; RenderMeld does not support Substrate or forward shading |
Scope limitation
Scope limitation
DecayForge dresses and ages levels in the editor. It is not a runtime generator: nothing is generated while the game runs, and Generate and Clear are unavailable during Play. It is not a weather system, a destruction system or a level generator.
Known limits of version 0.9: cobwebs are stored as mesh assets, so the level must be saved in the project’s Content folder first; a very detailed level may be too large to read whole and needs zones; debris aging skips Nanite meshes.
What DecayForge reads: static meshes and instanced static meshes placed in the current level. Landscape terrain, BSP brushes and spline meshes are not read, so the terrain itself gets no debris and no grime, and a wall standing on it has no wall base to find. What stands inside a Level Instance is not read. In a World Partition level DecayForge works on the part that is loaded: Grime, Moisture, Vegetation and Accumulation are each one lot, replaced whole at every Generate, so load every region you want aged before you generate.