Skip to content

Wetland Brush ​

The Wetland Brush reshapes the ground of a Wetland World Zone by hand after the Wetland / Marsh generator has run. Use it to dig a pool deeper, open a new shallow hollow, raise a patch of marsh back to dry land, or undo your own hand edits. When a stroke ends, Z-MOD floods the wetland again on the new ground, so the water follows your edit: new hollows fill, raised ground comes out of the water.

The brush has four modes:

ModeWhat one stroke does
WetLowers the ground gently (at most 1.2 m per stroke) so shallow water can form.
DryRaises lowered ground back towards its height before the wetland. Never higher than that.
DeepenLowers the ground more firmly (at most 2.5 m per stroke) for deeper pools.
RestoreBrings the ground back towards its height before the wetland, from above or below. Never past it.

The Wetland Brush is a contextual tool. It has no toolbar button and no keyboard shortcut. You arm it from the Wetland / Marsh section that the Inspector shows for a selected Wetland zone.

Screenshots

There are no screenshots of this tool yet. None could be taken from a real run of the editor for this page: this machine has no Electron build of the editor, and installing one was not allowed. A capture script is ready in manual/capture/wetland-brush.ts, but it has not been run yet. Until then, everything on this page comes from the editor's source code, and the layout is described in words.

Where to find it ​

You reach the brush through the World Zones tool:

  1. Click the Map workspace button in the top bar.
  2. On the toolbar on the left of the 3D view, open the World group and choose World Zones (see Tool groups). The entry is disabled with "World Zones need a terrain: create one first." when the map has no terrain.
  3. Select a zone of type Wetland. Click its row in the Zones list of the Inspector, or click inside the zone in the 3D view. To make a new one, see Make a wetland and refine it.
  4. In the Inspector, scroll down past the Selected zone section to the Wetland / Marsh section.
  5. Find the Wetland Brush row (four buttons: Wet, Dry, Deepen, Restore). Click a mode.

The brush is now armed:

  • The mode you clicked is highlighted.
  • Brush radius (m), Strength (%), the hint "Paint on the terrain. Ctrl restores. The water re-floods after each stroke." and a Done button appear under the row.
  • A teal ring follows the pointer over the terrain.
  • On the toolbar, the World Zones entry stays highlighted. The brush counts as part of World Zones there, and the Inspector keeps showing the World Zones panel.

To pick another mode while the brush is armed, click another mode button. The brush stays armed.

How to stop using the brush ​

Do any of these:

  • Click Done under the brush settings. This goes back to the World Zones tool (Select / Edit, Polygon and the other draw modes work again).
  • Open the World group on the toolbar and choose World Zones. While the brush is armed, clicking the World group button opens its list instead of re-arming anything, because the group already holds the armed tool.
  • Press Esc twice quickly (within 400 ms) to go to the Select tool.
  • Arm any other tool.

Clicking one of the World Zones draw-mode buttons (Select / Edit, Polygon, Rectangle, Circle, Brush) at the top of the panel does not disarm the Wetland Brush. It only changes the mode the World Zones tool will use when you go back to it.

Before you start ​

RequirementWhat happens without it
The map has a terrain with usable heights.The four mode buttons are disabled. The World Zones toolbar entry is disabled too.
The terrain is not locked (Hierarchy lock).You can still click a mode, but the brush does not arm: no ring appears and strokes change nothing. No message is shown. Unlock the terrain.
You are in the Map workspace and not in Preview.The brush does nothing while Preview is running.
The chunks you paint on are ON (see the Chunks tab).A stroke can only start on a loaded tile, and stops at the edge of the chunks that are ON.
For the water to follow your stroke: the wetland has water generated (its Water stage is not Empty).The ground changes, but no water is computed. Generate the wetland first (Generate All).

The brush does not need the world water (Enable Water), and it does not check whether the zone is enabled.

Generate first, then refine

The brush is meant for refining a wetland that already exists. Run Generate All (or at least Generate Terrain and Generate Water) first, then use the brush where the result is not what you want.

How the brush changes the ground ​

The wetland baseline ​

Every wetland edit remembers the height the ground had before any wetland touched it. This remembered height is the wetland baseline. It is kept per terrain sample, in the terrain's own data, and is saved with the project.

  • The generator's Terrain stage records it where it shapes the ground.
  • The Wetland Brush records it too: the first time a stroke changes a sample that has no baseline yet, the height that sample had when you pressed the mouse button becomes its baseline. A baseline that already exists is never moved by the brush.
  • Dry and Restore work towards this baseline. They do nothing on ground that has no baseline.
  • When a stroke brings a sample back exactly to its baseline, the baseline is forgotten there: that ground is "not wetland" any more.

Because of the baseline, Dry and Restore can never push the ground higher than it was before the wetland, and Wet and Deepen can never dig more than 6 m below it, however many strokes you make.

The brush is not limited to the zone ​

The brush acts on any terrain under the ring, inside or outside the selected zone. It does not clip to the zone outline. Strokes outside every wetland still lower or restore the ground and record a baseline there, but no water appears (water is only computed inside Wetland zones). Keep the ring inside the wetland unless you want to reshape the ground around it.

Stamps, strength and falloff ​

A stroke is a series of stamps:

  • Pressing the left mouse button makes one stamp under the pointer. So a click changes the ground too, not only a drag.
  • While you drag, a new stamp is made each time the pointer has travelled one spacing (by default a quarter of the brush radius). Holding the mouse still adds nothing: only movement makes stamps.
  • Each stamp acts on every terrain sample inside the radius, with a weight: Strength × the falloff weight at that distance from the centre (full in the middle, fading to nothing at the rim with the default settings).

In the table below, weight means Strength × falloff weight, from 0 to 1.

ModeOne stamp, at each sampleLimits
WetLowers the ground by up to 0.05 m × weight.Never lower than 1.2 m under the lower of: the baseline, and the height the sample had when the stroke began. Never more than 6 m under the baseline.
DeepenLowers the ground by up to 0.12 m × weight.Never lower than 2.5 m under the lower of: the baseline, and the height when the stroke began. Never more than 6 m under the baseline.
DryRaises the ground by 15 % × weight of the gap that is left to the baseline.Only where a baseline exists and the ground is below it. Never above the baseline. Ground at or above the baseline is not touched.
RestoreMoves the ground by 50 % × weight of the gap to the baseline, up or down.Only where a baseline exists. Never past the baseline. When the remaining gap is tiny, the sample snaps exactly to the baseline.

What this means in practice:

  • Wet and Deepen are limited per stroke. Because the limit is measured from the height at the start of the stroke, a new stroke over the same place can go deeper again, until the 6 m limit under the baseline. This is also why Wet works inside a basin the generator has already lowered.
  • Dry slows down as it gets close to the baseline (each stamp closes a share of what is left). Several strokes are needed to bring ground all the way back.
  • Restore is the faster way back, and the only mode that also lowers ground that is above the baseline, for example a dry island the generator raised.
  • With Strength at 0 %, no mode changes anything.

Mouse and keyboard ​

InputWhat it does
Left click on the terrainOne stamp of the current mode, then the stroke ends (one undo step, water re-flooded).
Left drag on the terrainA stroke: stamps along the path. When you release the button, the stroke is committed as one undo step, and the wetlands it reached are re-flooded.
Ctrl held before you press, click without movingOne Restore stamp, whatever mode is selected.
Ctrl held before you press, then dragOrbits the camera. A modified drag that moves more than 4 pixels belongs to the camera, not to the brush, so it makes no stroke.
Ctrl pressed during a drag you started without itFrom the next stamp on, the stroke restores. Release Ctrl and the stroke goes back to the selected mode. It is still one stroke and one undo step.
Alt + dragPans the camera. No stroke.
ShiftNo effect on this brush. (It inverts Raise and Lower in Terrain Sculpt only.)
Ctrl+ZUndoes the whole last stroke: the heights, the baselines it recorded and the re-flooded water, together.
Esc twice within 400 msLeaves the brush for the Select tool.

The settings that shape a stroke (mode, radius, strength, falloff, spacing) are read once, when you press the button. Changing a field during a stroke has no effect on that stroke. Only Ctrl is read again at every movement.

Not checked in a real run: whether a single Esc during a drag abandons the stroke. Use Ctrl+Z after the stroke to take it back.

The cursor ring ​

While the brush is armed and the pointer is over a loaded tile, the 3D view draws:

  • an outer teal ring (#5fc7b0): the Brush radius. Nothing outside it is changed;
  • a dimmer inner ring: where full strength ends and the falloff begins (radius × (1 − Falloff)). With the default Falloff of 100 % the whole radius fades and the inner ring sits at the centre;
  • a centre mark.

The ring keeps the same colour when Ctrl is held. Nothing on screen tells you that the next click will restore.

Inspector reference: the Wetland Brush controls ​

These controls are in the Wetland / Marsh section, under the Wetland Brush title. They are shown at every Inspector complexity level (Normal, Medium and Advanced); none of them is behind Show more.

NameTypeVerified purposeValues, defaultDepends on / effects
WetMode buttonArms the brush in Wet mode (or switches to it while armed). Tooltip: "Lowers the ground gently so shallow water can form."Default mode when the editor starts.Disabled when the map has no usable terrain. Highlighted only while the brush is armed in this mode.
DryMode buttonArms or switches to Dry. Tooltip: "Raises the ground back towards its original height - never above it."—As above.
DeepenMode buttonArms or switches to Deepen. Tooltip: "Lowers more firmly: deeper pools."—As above.
RestoreMode buttonArms or switches to Restore. Tooltip: "Back towards the ground before any wetland - never past it."—As above.
Brush radius (m)Number fieldThe radius of the brush, in metres (world units).0.25 to 500, step 0.5. Default 10.Shown only while the brush is armed. A value outside the range is held inside it; text that is not a number is ignored. Applied when you press Enter or leave the field. Shared with the Size of Terrain Sculpt and of the River and Coast brushes.
Strength (%)Number fieldHow strongly each stamp acts (see the stamp table).0 to 100, step 5. Default 50.Shown only while armed. Held inside 0–100. Applied on Enter or when leaving the field. Shared with the Strength of Terrain Sculpt, River and Coast brushes.
HintText"Paint on the terrain. Ctrl restores. The water re-floods after each stroke."—Shown only while armed.
DoneButtonGoes back to the World Zones tool.—Shown only while armed.

All brush settings are editor settings, not map data:

  • Changing a mode, the radius or the strength is not an undo step and does not mark the map as unsaved.
  • They are not saved in the project. The mode goes back to Wet, and the radius and strength to their defaults, when the editor is restarted.
  • The radius and strength are one shared brush. If you changed the Size in Terrain Sculpt, the Wetland Brush starts with that size, and the other way round.

Brush settings set elsewhere ​

Three more settings shape every stroke of this brush, but the Wetland / Marsh section has no field for them. They belong to the same shared brush and are set in the Terrain Sculpt panel (toolbar Terrain › Terrain Sculpt), where they appear at Medium complexity or through Show more:

Setting (in Terrain Sculpt)Effect on the Wetland BrushDefault
Falloff (%)The share of the radius over which the effect fades. 0 % = full strength across the whole circle; 100 % = fades from the centre to the rim. The inner ring shows it.100 %
Falloff CurveThe shape of the fade (Smooth, Linear, Sharp, Bell, Plateau, Hard).Smooth
Spacing (%)Distance between two stamps, as a share of the radius. Smaller = more stamps per metre of drag = a stronger stroke.25 %

Reset Brush in the Terrain Sculpt panel sets the whole shared brush, including the Wetland Brush's radius and strength, back to the defaults.

What happens when a stroke ends ​

When you release the mouse button, Z-MOD does all of the following as one undo step:

  1. Commits the heights of every terrain chunk the stroke touched, and the wetland baselines it recorded. Samples brought exactly back to their baseline lose it.
  2. Re-floods the water of every Wetland zone that has water and whose area reaches the rectangle the stroke covered. This is not only the selected zone: every overlapping wetland is re-flooded.
  3. Records a new Water run for each re-flooded zone.

How the water follows the ground ​

A re-flood keeps the marsh's water table:

  • A basin that held water keeps the same water level. Ground you lowered in it floods up to that level. Ground you raised comes out of the water.
  • The level is never higher than the basin's new rim. If you dig a channel out through the rim, the basin drains down to the channel.
  • Only a new hollow, one that held no water before, is filled, using the same fill share that the last Generate Water found.
  • The rest of the marsh does not move. The water stays flat in each basin: it never slants, floats, or ends in the air at the edge.
  • The pool count and the Water share shown in the section are updated.

What it does to the stage statuses ​

The Wetland / Marsh section shows five stages (see Stages). After a stroke on a generated wetland:

StageStatus after the strokeWhy
TerrainUnchanged (Generated stays Generated).The brush does not change what the Terrain stage was generated from.
WaterGenerated (a new water run).The water was just re-flooded.
Materials, Vegetation, DetailsDirty, if they had been generated.They were made for the old water.

So the zone's status in the Zones list becomes Needs Regeneration, and the section shows "Some stages are out of date: Regenerate runs only those."

The reeds, trees, paint and details are not moved by the stroke. Plants that stood at the old waterline stay where they were, even if that ground is now dry or under water. Click Regenerate to rebuild Materials, Vegetation and Details on the new water. Regenerate does not touch the Terrain stage here, because it is still up to date, so your brush work is kept.

What removes your brush work ​

ActionEffect on brush edits
Regenerate while only Materials / Vegetation / Details are DirtyKept.
Generate Terrain (▶ of the Terrain stage), Generate All, or Regenerate when the Terrain stage is DirtyThe zone's ground is computed again from the baseline. Brush edits inside the zone are replaced.
Clear Terrain, Clear Generated, deleting the zone, or changing its TypeThe ground the wetland reaches goes back exactly to the baseline. Brush edits there are gone too.
Where wetlands overlapRegenerating or clearing one recomputes the shared ground, so brush edits there are recomputed too.
Ctrl+ZUndoes the last stroke only.

Brush edits outside every wetland's reach are not touched by any of these. Use Restore to take them back.

Other terrain tools do not re-flood

Only the Wetland Brush re-floods the water. If you reshape a wetland with Terrain Sculpt or another terrain tool, the water stays as it was until you run Regenerate or Generate Water.

The Wetland / Marsh section ​

The brush lives inside the Wetland / Marsh section, and the section's other controls decide what the brush works on. This part lists the whole section, from top to bottom.

Level is the Inspector complexity needed to see a control (File › Preferences… › General › Inspector Complexity). All = every level. Controls hidden at your level are offered by the Inspector's Show more footer, and a hidden setting that differs from its default is counted as modified there (see Inspector complexity and Show more for how the footer works).

PartWhat it isLevel
StagesOne row per stage: name, status, count, and ▶ / ✕ buttons.Rows: All. ▶ and ✕: Medium
Generate All, RegenerateRun the stages.All
Clear GeneratedRemoves everything the wetland made.All
Preview Terrain + WaterComputes the terrain and water without changing the map.Medium
Apply, DiscardOnly while a preview is shown.All (conditional)
HintsPreview and out of date notes.All (conditional)
WaterWater share and pool count.All
OverlayOff / Wetness / Water Mask.Medium
LegendColours of the Water Mask.All (conditional)
Wetland BrushSee above.All
Status lineGenerating…, or the last message.All (conditional)
Last run reportStatistics and warnings of the last run.All (conditional)
PresetGreen Marsh, Swamp, Dead Marsh, Wet Meadow / Bog.All
Parameter groupsTerrain, Water, Materials, Vegetation, Details (Normal), Advanced (Medium). Each is a fold-out; only Terrain starts open.See each group

Every field in the section writes the zone's parameters as one undo step each. Every Generate, Regenerate, Clear and Apply is one undo step holding the terrain and the map together.

Stages ​

StageBuilds onMakesCount shown
Terrain—The wetland's shape in the ground: lowered basin, depressions, dry islands, faded edge.Shaped terrain samples.
WaterTerrainChannels between depressions, the pools (flat water levels), wetness.Pools.
MaterialsWaterTerrain paint in bands (mud, wet dirt, grass, water edge, rock).Painted texels.
VegetationWaterReeds, wet grass, shrubs, living and dead trees (procedural vegetation).Plants, all five classes together.
DetailsWaterEnvironment Scatter placements on wetland areas (logs, branches, stumps, rocks, debris).Placements.

Each row shows a status:

StatusMeaning
EmptyThe stage has never run, or was cleared.
GeneratedUp to date.
DirtySomething it was made from changed (a parameter, the zone's shape or seed, roads or buildings around it, a stage it builds on), or a stage it builds on is Dirty or gone. Nothing regenerates by itself.

Row buttons (Medium):

  • ▶ (Generate Terrain, Generate Water, … in the tooltip) runs that stage alone. A stage that needs water first runs the Water stage (and the Terrain stage) when they have never run. Disabled while something is running, without a terrain, or when the zone is disabled.
  • ✕ (Clear Terrain, Clear Water, …) clears that stage. Disabled when the stage is Empty and has nothing in the map. What clearing does:
    • Terrain: the ground goes back exactly to the baseline, and the water goes with it.
    • Water: the channels are filled back in and the water is removed.
    • Materials: only the stage record is removed. The paint stays on the terrain (use Undo to take it off).
    • Vegetation, Details: this wetland's plants or placements are removed. Hand-made content is not touched.

Actions ​

NameWhat it doesDisabled when
Generate AllRuns every stage, in order. One undo step.Something is running, no terrain, or the zone is disabled.
RegenerateRuns only the stages that are not up to date: every Dirty stage, plus Empty stages whose upstream stage was generated. When nothing was ever generated, it runs nothing.As above, or there is nothing to regenerate.
Clear GeneratedClears every stage (as the ✕ buttons above, all at once).Something is running, or the wetland has nothing in the map.
Preview Terrain + Water (Medium)Computes the Terrain and Water stages without changing the map, draws the pools and the Water Mask, and shows Apply and Discard. The button then reads Preview again.Something is running, no terrain, or the zone is disabled.
ApplyRuns Terrain and Water for real. Same seed and parameters, so the result is the one you previewed.Something is running.
DiscardDrops the preview.Something is running.

While a preview is shown, the note "The water mask and the pools of the previewed wetland are drawn; the terrain is unchanged until Apply." appears. Any other edit to the map drops the preview, including a Wetland Brush stroke. Selecting another zone hides it. It shows again when you select this zone again, as long as nothing in the map changed in between.

Every run also brings the zone's Terrain Paint stage up to date, in the same undo step.

Water and Overlay ​

  • Water: the share of the zone under water and the pool count, for example 40% · 12 pools. It updates after every run and every brush stroke.
  • Overlay (Medium): draws a coloured map over the selected wetland, in the editor only. Off (default), Wetness (from pale sand for dry to deep blue for wet), or Water Mask. The overlay is shown while the World Zones tool or the Wetland Brush is armed. It is an editor setting, not saved, not undoable. When it is not Off, the Inspector's Show more footer counts it as a modified hidden setting.
  • Legend: shown with Water Mask, or while a preview is shown: Water (blue), Shore (light cyan), Dry Island (green), Edge (orange). In the mask, damp ground that is none of these is drawn in a faint brown.

Use the overlay with the brush

Set Overlay to Water Mask before you arm the brush. The mask stays on the ground while you paint, and it is redrawn after each stroke, so you can see the new pools and shoreline at once.

Status line and last run report ​

The line under the brush shows Generating…, Clearing… or Computing preview… while something runs, and afterwards one of these messages:

MessageWhen
Wetland generated: N pools (N% water), N plants, N details.A run finished.
Cleared.A clear finished.
Nothing changed.The run produced the same map, or Regenerate had nothing to do.
Preview: N pools, N% water.A preview is ready.
The wetland could not be generated.An unexpected error.
The terrain is locked: nothing was changed.The terrain is locked in the Hierarchy.
The zone no longer exists. / Only Wetland zones run the wetland generator. / The zone is disabled. / The map needs a terrain.The run was refused for that reason.

After a run or preview, a report lists what was made (Shaped samples, Kept by roads / buildings, Depressions, Islands, Pools, Water share, Channel segments, Grid step, Painted texels, Reeds, Wet grass, Shrubs, Living trees, Dead trees, Details, Detail layers: those the stages produced) and any warnings:

WarningMeaning / what to do
The zone has no usable shape.Redraw the zone.
The zone lies (partly) off the terrain.Only the part over the terrain is shaped.
Roads and buildings keep their ground: the wetland eases off around them.Information: the wetland fades out within about 2 m (plus 6 m of blending) of roads and buildings.
No pool could form: the ground holds no water here. …Raise Base Lowering or the depressions, or raise Water Coverage. Or dig a hollow with Deepen.
The ground cannot hold the water coverage asked for: fewer or shallower pools. …Deeper depressions hold more.
A very large wetland: its water is computed on a coarser grid.Information: water is computed on at most 1024 × 1024 cells.
Most pools are below the world water level: the world water covers them.Raise the ground or lower the world Water Level.
No material layer is chosen: the Materials stage paints nothing.Pick layers in the Materials group.
Densities were scaled down: the wetland is very large.Vegetation over about 400 000 instances is thinned.
The Wetland Details scatter layers were added to Environment Scatter.Information.
Some detail layers have no models: assign models in Environment Scatter.Assign models in Environment Scatter.
Generate the terrain first. / Generate the water first. / The vegetation classes have nothing in their mixes.As written.

Preset ​

Four buttons: Green Marsh, Swamp, Dead Marsh, Wet Meadow / Bog. Clicking one writes all of that preset's values into the parameters below (one undo step). It generates nothing: run Generate All or Regenerate afterwards. The layer picks of the Materials group are kept.

A new Wetland zone starts with Green Marsh. As soon as you change any value, no button is highlighted and the note "Custom: the values were changed from the preset." appears.

  • Green Marsh: open water and reed beds, lush grass, some shrubs and trees on the islands, few dead trees.
  • Swamp: flooded woodland, water among many trees (some dead), shrubs, dense wet undergrowth.
  • Dead Marsh: dark mud and stagnant pools, standing dead trees, sparse dry reeds and shrubs.
  • Wet Meadow / Bog: mostly wet ground, a few open pools, tall grass and reeds, very few trees.

Parameter groups ​

All numbers are in metres unless the label says %. A % field shows 0–100 and stores 0–1. A value outside the range is held inside it. For the Min / Max pairs, changing one end moves the other when needed, so Min never exceeds Max.

The "Default" columns show each preset's value (GM = Green Marsh, SW = Swamp, DM = Dead Marsh, WM = Wet Meadow / Bog). Each group feeds one stage: changing a value makes that stage, and the stages after it, Dirty.

Terrain group ​

Feeds the Terrain stage. Starts open.

FieldPurpose (from the editor's hint)Range, stepGMSWDMWMLevel
Base Lowering (m)How far the wetland sits below the ground around it.0–6, 0.111.11.30.5Normal
Floor Flatten (%)How far the wetland floor is levelled towards one height, so a wetland on a slope holds water instead of draining downhill. The levelling is never more than about 4 m either way.0–100, 585859070Medium
Depressions / haShallow depressions per hectare.0–80, 11418168Normal
Depression Size Min (m)Smallest depression diameter.3–200, 18686Medium
Depression Size Max (m)Largest depression diameter.3–200, 130243018Medium
Depression Depth Min (m)Shallowest depression, below the basin.0.05–4, 0.050.30.30.30.2Medium
Depression Depth Max (m)Deepest depression, below the basin.0.05–4, 0.050.90.910.5Medium
Irregularity (%)How far depressions, islands and the edge stray from round.0–100, 560606060Normal
Dry Islands (%)Roughly the share of the zone raised into dry islands.0–100, 525351510Normal
Island Size (m)Island diameter.3–150, 116121616Medium
Island Height (m)How far an island rises above the basin.0–4, 0.10.80.80.80.5Medium
Island Variation (%)How much islands differ in size and height.0–100, 550505050Medium
Edge Falloff (m)Distance over which the wetland fades into the ground around it.2–200, 118181818Medium
Edge Noise (%)How far the fade wanders in and out, so the zone outline never shows.0–100, 550505050Medium

Water group ​

Feeds the Water stage.

FieldPurposeRange, stepGMSWDMWMLevel
Water Coverage (%)Share of the zone under shallow water: 20 % damp land, 50 % mixed, 80 % flooded.0–95, 540505512Normal
Water Level Offset (m)Added to every pool level, never above its rim.−2 to 2, 0.050000Medium
Min Water Depth (m)Pools shallower than this stay wet mud.0–1, 0.010.080.080.080.08Medium
Max Water Depth (m)No pool is deeper than this.0.1–3, 0.051.31.41.30.6Medium
Channel Connectivity (%)How often nearby pools are joined by shallow channels (carved by Generate Water).0–100, 545553520Medium

A re-flood after a brush stroke uses the current Water values, but it does not search for Water Coverage again: it keeps the existing water levels (see How the water follows the ground).

Materials group ​

Feeds the Materials stage. For each band there is a drop-down and a Material… button:

BandWhere it paints
MudUnder water, and wet ground.
Wet DirtDamp ground between mud and grass.
GrassDrier ground.
Water EdgeAlong the shore.
RockSlopes steeper than about 20–32°.
  • The drop-down lists every terrain layer of the project, plus None at the top. Layer names are shown as you typed them. None (the default for every band; presets never pick layers) means that band paints nothing.
  • Choosing a layer the terrain does not have yet adds it to the terrain.
  • Material… opens the Surface Material picker. The terrain layer made of the chosen material is reused or created, added to the terrain, and picked for the band.
FieldPurposeRange, stepDefault (all presets)Level
Material Strength (%)How much of the ground the material bands claim.0–100, 5100Medium
Material Noise (%)Noise breaking the material bands up.0–100, 550Medium

Vegetation group ​

Feeds the Vegetation stage.

FieldPurposeRange, stepGMSWDMWMLevel
Patchiness (%)Clumps and gaps instead of an even carpet.0–100, 550456040Normal
Reed Max Depth (m)Deepest water reeds still stand in.0–1.5, 0.050.450.450.450.45Medium
Dead trees in shallow waterCheckbox: dead trees may also stand in very shallow water.on/offononononNormal

Then one block per class: Reeds, Wet Grass, Shrubs, Living Trees, Dead Trees. Each block has:

FieldPurposeRange, stepLevel
Density /100 m²Instances per 100 square metres where the class is fully at home. 0 turns the class off.Reeds and Wet Grass 0–120; Shrubs, Living Trees, Dead Trees 0–6. Step 0.05.Normal
Min spacing (m)Minimum distance between two instances.0.2–30, 0.1Medium
Wetness Min (%)Lower end of the wetness band the class grows in (0 % dry ground, 100 % at the water).0–100, 5Medium
Wetness Max (%)Upper end of that band. Min never exceeds Max.0–100, 5Medium
Mix rowsOne row per entry: a Definition drop-down (built-in presets, marked "(preset)", or the map's own vegetation definitions; "Missing definition" if one was deleted), a Weight number (0–1000, step 0.5), and ✕ (Remove from the mix).—Normal
Add to mix…Adds an entry with weight 1. Reeds and Wet Grass list grass definitions, Shrubs shrubs, the tree classes trees.—Normal

With an empty mix the block warns "Nothing in the mix: this layer generates nothing."

Class defaults per preset (density · spacing · wetness band · mix):

ClassGreen MarshSwampDead MarshWet Meadow / Bog
Reeds22 · 0.45 · 68–100 % · Reeds12 · 0.5 · 72–100 % · Reeds12 · 0.5 · 65–100 % · Reeds 2, Dry Grass 116 · 0.45 · 70–100 % · Reeds
Wet Grass30 · 0.5 · 38–82 % · Wet Grass 2, Tall Grass 126 · 0.5 · 35–85 % · Wet Grass 2, Wild Grass 112 · 0.6 · 35–80 % · Dry Grass 2, Wet Grass 145 · 0.45 · 25–90 % · Wet Grass 2, Tall Grass 1, Wild Grass 1
Shrubs1.2 · 1.8 · 22–60 % · Dense Shrub 1, Wide Shrub 1, Tall Shrub 0.52.2 · 1.6 · 20–70 % · Dense Shrub 2, Tall Shrub 1, Sparse Shrub 10.5 · 2.2 · 20–55 % · Dry Shrub 2, Sparse Shrub 10.4 · 2 · 20–50 % · Wide Shrub 1, Round Shrub 1
Living Trees0.25 · 6 · 0–38 % · Old Tree 1, Young Tree 1, Broadleaf 0.50.9 · 4.5 · 0–60 % · Old Tree 2, Wide Broadleaf 1, Tall Broadleaf 10.03 · 8 · 0–30 % · Old Tree0.05 · 8 · 0–30 % · Young Tree 1, Broadleaf 1
Dead Trees0.05 · 6 · 35–95 % · Dead Tree0.15 · 5 · 40–95 % · Dead Tree0.45 · 4 · 30–95 % · Dead Tree0.01 · 8 · 40–90 % · Dead Tree

All vegetation is kept off roads, buildings and the world's water.

Details group ​

Feeds the Details stage.

FieldPurposeRange, stepDefault (all presets)Level
Detail Density (%)Multiplies the density of the Environment Scatter layers on wetland areas generated through this zone.0–400, 10100Normal

The group's note explains: Generate Details runs the Environment Scatter layers on wetland areas (water, mud, shore, dry islands, edge) through this zone, using the Wetland Details preset when the map has none. Models are assigned in Environment Scatter.

Advanced group ​

The whole group is at Medium complexity. Its first three fields feed the Terrain stage, the last two the Water stage.

FieldPurposeRange, stepGMSWDMWM
Basin Noise (%)Large-scale variation: wetter basins and higher, drier ground.0–100, 535353535
Basin Scale (m)Size of one basin feature.15–800, 590909090
Surface Noise (m)Small, gentle unevenness of the ground.0–0.6, 0.020.120.120.160.12
Channel Width (m)Width of the carved channels.1–12, 0.53333
Wet Range (m)Distance from the water over which the ground stays wet.2–60, 110121418

Typical tasks ​

Make a wetland and refine it ​

  1. Open World › World Zones.
  2. In the Inspector, set Type of new zones to Wetland.
  3. Click Rectangle (or Polygon / Circle) and draw the zone on the terrain. The new zone, named Wetland, is selected, and the tool goes back to Select / Edit.
  4. Scroll to Wetland / Marsh. Pick a Preset if Green Marsh is not what you want.
  5. Click Generate All. Wait for Wetland generated: ….
  6. (Medium complexity or Show more) Set Overlay to Water Mask.
  7. Under Wetland Brush, click Wet. Set Brush radius (m) and Strength (%).
  8. Drag over the ground where you want more shallow water. Release, and look at the new pools.
  9. Click Done, then Regenerate to rebuild Materials, Vegetation and Details on the new water.

Make one pool deeper ​

  1. Arm the brush in Deepen mode.
  2. Use a radius a bit smaller than the pool.
  3. Drag over the pool in short strokes. Each stroke can lower the ground by up to 2.5 m. The pool keeps its water level, so the water simply gets deeper.
  4. Regenerate to move the reeds: reeds only stand in water up to Reed Max Depth.

Open a new shallow hollow ​

  1. Arm Wet.
  2. Drag over dry ground inside the wetland. After the stroke, the hollow fills with the same fill share the Water stage used last time.
  3. If no water appears, the hollow is not deep enough to hold it, or it spills over its rim: make another stroke, or use Deepen.

Turn a flooded patch back into dry ground ​

  1. Arm Dry for a gentle, gradual change, or Restore for a faster one.
  2. Drag over the patch. The ground rises towards its height before the wetland and comes out of the water.
  3. Dry never lowers anything. To also bring down a raised island, use Restore.

Undo hand edits in one place without losing the rest ​

Use Restore over the area, or hold Ctrl after you start a drag in any mode. Ground goes back to its height before any wetland. Inside a generated basin this removes the generator's lowering there too, because the baseline is the ground before any wetland.

Common mistakes ​

  • Ctrl+drag to restore turns the camera. A drag that starts with Ctrl held belongs to the camera. Click Restore instead, use Ctrl+click for single stamps, or press Ctrl only after you have started dragging.
  • "The brush does nothing." Check: the terrain is not locked (no ring is a sign of this); you are not in Preview; the chunk is ON; Strength (%) is not 0. Dry and Restore also do nothing on ground that was never touched by a wetland, and Dry does nothing on ground at or above its old height.
  • "No water appeared after my stroke." The wetland has no generated Water yet (generate it first), or you painted outside every Wetland zone, or the hollow cannot hold water.
  • "The reeds are now in the middle of a pool." The stroke re-floods the water but does not move plants. Click Regenerate.
  • Running Generate All after brushing. It recomputes the Terrain stage and replaces your brush work inside the zone. Use Regenerate instead: it runs only the Dirty stages.
  • Painting across the zone outline. The brush does not stop at the zone. Ground outside the wetland is lowered too, but no water forms there.
  • Expecting the radius or strength change to be undone with Ctrl+Z. Brush settings are not undo steps. Ctrl+Z undoes the last stroke.
  • Looking for Falloff and Spacing in the Wetland section. They are set in Terrain Sculpt and shared.
  • Reshaping a wetland with Terrain Sculpt and expecting the water to follow. Only the Wetland Brush re-floods. Run Regenerate after other terrain edits.
  • Looking for the brush on the toolbar. It is only in the Wetland / Marsh section of a selected Wetland zone.
  • Map workspace: the toolbar and its tool groups.
  • World Zones (toolbar World › World Zones): drawing and selecting the zones the brush belongs to.
  • Terrain Sculpt (toolbar Terrain › Terrain Sculpt): the shared brush Size, Strength, Falloff, Falloff Curve and Spacing (Sculpt the terrain).
  • Coast / Cliff (toolbar Water): a similar baseline-based brush for coasts, with its own Restore.
  • Environment Scatter (toolbar Vegetation): where the Wetland Details layers get their models.
  • Chunks tab: which chunks a stroke can reach.

Verification notes ​

This chapter was written from the editor source only: the world-zone-wetland component and template, WetlandToolStore, WetlandService, TerrainSculptService (stroke, stamps and commit), applyWetlandBrushStamp in wetland-terrain.ts, refloodWetlands and the stage logic in wetland-generator.ts, wetland-water.ts, wetland-params.ts, TerrainBrushStore, TerrainBrushService (the ring), CameraModifierOverride, the toolbar catalog, the editor's docs/wetland-generator.md and docs/editor-input.md, and the en-US texts. The following were not checked in a real run:

  • what the section and the ring look like (no screenshots were taken);
  • the exact look of the Wetness and Water Mask overlays;
  • whether a single Esc abandons a stroke that is in progress;
  • how long a stroke's re-flood takes on a large wetland;
  • the exact wording and placement of the Inspector's Show more footer for this panel.