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.
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.

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.
- Connect a terrain to the primary input
- Optionally connect a Water Input to incorporate existing water bodies
- Optionally connect a Precipitation Map to vary rainfall across the terrain
- Adjust Moisture to control overall wetness intensity
- Use the output mask to drive vegetation placement, material blending, or erosion effects
Inputs
| Port | Type | Required | Description |
|---|---|---|---|
| Primary Input | Heightfield or VDM | Required | The terrain to analyze for moisture accumulation |
| Water Input | Water | Optional | Water bodies (for example from a water device) to incorporate into the wetness calculation |
| Precipitation Map | Heightfield | Optional | Relative rainfall across the terrain; white is full rainfall, darker areas receive less |
Outputs
| Port | Type | Description |
|---|---|---|
| Topographic Wetness | Heightfield | Mask 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

- 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.