Select Wetness

Creates a selection mask based on topographic wetness (the Topographic Wetness Index, a standard measure from hydrology), identifying areas where water naturally accumulates. Ground is wetter the more uphill area drains into it and the flatter it is.

This device may not work as intended when used in a tiled build.

When to Use

  • Ground textures: The wetness mask follows the shape of the terrain closely and works well directly as a texture source. For a quick ground texture, connect the output straight to a Colorizer.
  • Vegetation: Drive vegetation distribution, where wet areas receive different plant types.
  • Material blending and erosion effects: Use the mask wherever wet ground should look or behave differently.
Terrain textured from Select Wetness
Texture from Select Wetness device

In the image above, smooth soil-filled basins stand out clearly from rough, rocky areas.

How to Use

Connect a terrain to the Primary Input. By default you get a mask that is bright along drainage channels, valley floors, and flat ground, and dark on steep slopes and ridges.

  1. Connect a terrain to the primary input
  2. Optionally connect a Water Input to incorporate existing water bodies
  3. Optionally connect a Precipitation Map to vary rainfall across the terrain
  4. Adjust Moisture to control overall wetness intensity
  5. Use the output mask to drive vegetation placement, material blending, or erosion effects

Inputs

PortTypeRequiredDescription
Primary InputHeightfield or VDMRequiredThe terrain to analyze for moisture accumulation
Water InputWaterOptionalWater bodies (for example from a water device) to incorporate into the wetness calculation
Precipitation MapHeightfieldOptionalRelative rainfall across the terrain; white is full rainfall, darker areas receive less

Outputs

PortTypeDescription
Topographic WetnessHeightfieldMask showing moisture accumulation potential

Parameters

Moisture

The amount of water available on the map. Higher values brighten the whole mask and let wetness spread from the drainage channels up onto the surrounding slopes; low values leave only the main drainage lines and wettest valley floors selected. The mask saturates toward full white as wetness rises.

  • Default: 0.25
  • Range: 0.001 to 16.0
  • Note: Logarithmic scaling for fine control

Convergence (Advanced)

Controls whether flowing water spreads out across the slopes or concentrates into a few drainage lines. Higher values create narrower, more focused drainage lines.

  • Default: 0.0
  • Range: 0.0 to 1.0
  • Note: At 0.0 water spreads freely downhill, giving the broadest, most diffuse wetness pattern

Tips and Tricks

  • The Precipitation Map input allows you to simulate rain shadows, elevation-based precipitation, or other spatial rainfall patterns. Its response is strongly weighted toward the bright end: mid-gray areas contribute far less than half the water of white areas. Water still flows downhill from wet areas, so rivers carry moisture into arid regions. The image below uses a simple linear gradient as the Precipitation Map
Wetness varied by a gradient precipitation map
Wetness controlled by a linear gradient Precipitation Map
  • If a Water Input is provided, areas covered by water are marked as fully wet. On heightfield terrain, water also flows across lake surfaces rather than pooling in the terrain beneath them
  • Convergence at 0.0 gives the most natural, branching wetness pattern
  • For VDM inputs, flow is calculated on the displaced surface geometry
  • Combine with elevation or slope selectors to refine wetness-based effects

Limitations

  • The whole drainage basin must be inside the build extents for the wetness to be correct. Tiled builds see only part of each basin and can produce incorrect drainage patterns.
Updated on December 3, 2026
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support