Masks
RustEdit ProThe nodes in the Masks category of the Terrain Graph's Add Node menu. Round sockets carry maps and square sockets carry single values. See Graph editor.
Break Up
Break a mask into natural patches with coarse and fine patterns. Never adds outside the mask.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Mask | Map | ||
| Seed | Whole number | 0 | Change it for another random pattern. |
| Coverage | Number | 0.5 | How much of the input mask is kept. 1 keeps all of it, 0 removes all of it. Not an exact share of the area. Slider from 0 to 1. |
| Fine Detail | Number | 0.35 | How much the finer pattern counts. 0 keeps only the broad pattern. Slider from 0 to 1. |
| Detail Size [m] | Number | 30 | The size of the finer pattern, in metres. Slider from 2 to 500. |
| Patch Size [m] | Number | 200 | The size of the broad, irregular patches, in metres. Slider from 10 to 5000. |
| Softness | Number | 0.25 | How gradually kept patches fade into removed ones. 0 gives hard edges. Slider from 0 to 1. |
| Strength | Number | 1 | How much of the change is kept. 0 gives back the input mask. Slider from 0 to 1. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
Cavity
Picks out dips and bumps by comparing each point with its surroundings.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Height | Map | ||
| Mode | Choice | Concave | Pick out dips, bumps, or both. Options: Concave, Convex, Both. |
| Radius | Number | 20 | Metres around each point to compare against. Bigger finds bigger features. Slider from 2 to 200. |
| Depth | Number | 2 | Metres above or below the surroundings that count as a full mask. Slider from 0.1 to 20. |
Outputs
| Output | Kind |
|---|---|
| Out | Map. The result this node produces. |
Clean Mask
Reduce speckles with a median, or smooth similar values while keeping boundaries.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Mask | Map | ||
| Method | Choice | Median | Median removes specks and holes. Preserve Edges smooths within areas but not across their boundaries. Options: Median, Preserve Edges. |
| Search Radius [m] | Number | 6 | How far around each point is looked at, in metres. Specks smaller than this go. Slider from 0 to 200. |
| Strength | Number | 1 | How much of the change is kept. 0 gives back the input mask. Slider from 0 to 1. |
| Value Similarity | Number | 0.2 | Preserve Edges only. Mask values further apart than this are treated as an edge and not smoothed together. Slider from 0.01 to 1. Shows only with some settings. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
Direction
How directly each slope faces a light from a chosen direction.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Height | Map | ||
| Azimuth | Number | 180 | Compass direction the light comes from, in degrees. 0 is north, 90 is east, 180 is south. Slider from 0 to 360. |
| Elevation | Number | 30 | How high the light is above the horizon, in degrees. 90 is straight down. Slider from 0 to 90. |
| Wrap | Number | 0 | Lets the light wrap around onto slopes facing away, for a softer mask. Slider from 0 to 1. |
Outputs
| Output | Kind |
|---|---|
| Out | Map. The result this node produces. |
Directional Blur
Soften a mask along a direction to form streaks, one way or both ways.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Mask | Map | ||
| Direction [deg] | Number | 0 | Which way the streaks run, in degrees. 0 is +Z (north), 90 is +X (east). Slider from 0 to 360. |
| Length [m] | Number | 50 | How long the streaks are, in metres (each way for Both Directions). 0 turns it off. Slider from 0 to 2000. |
| Spread | Choice | One Side | Both Directions blurs both ways along the line, One Side trails towards the direction only. Options: Both Directions, One Side. |
| Weighting | Choice | Soft | Uniform counts the whole streak evenly, Soft counts less towards its end. Options: Uniform, Soft. |
| Strength | Number | 1 | How much of the change is kept. 0 gives back the input mask. Slider from 0 to 1. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
Distance
How far each point is from a mask, in metres, outside and inside it.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Mask | Map | ||
| Max Distance | Number | 200 | Metres at which the distance reaches 1. Slider from 1 to 2000. |
| Threshold | Number | 0.5 | Mask values at or above this count as inside the mask. Slider from 0 to 1. |
Outputs
| Output | Kind |
|---|---|
| Outside | Map. 0 at the mask's edge, rising to 1 at Max Distance away from it. 0 inside the mask. |
| Inside | Map. 0 at the mask's edge, rising to 1 at Max Distance into it. 0 outside the mask. |
Downhill Spread
Extend a mask downhill while keeping its source, for debris below cliffs or snow tongues.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Terrain | Map | The height map the mask follows. | |
| Mask | Map | ||
| Spread Distance [m] | Number | 150 | How far down the slope the mask can reach, in metres. 0 gives back the mask. Slider from 0 to 3000. |
| Distance Falloff | Number | 0.8 | How much the spread fades with the distance it travelled. 0 keeps it full to the end. Slider from 0 to 1. |
| Side Spread [deg] | Number | 15 | How far the spread fans out to the sides of the steepest way down, in degrees. Wide values make fans. Slider from 0 to 80. |
| Minimum Slope [deg] | Number | 5 | Ground flatter than this stops the spread, in degrees. Rising ground always stops it. Slider from 0 to 60. |
| Strength | Number | 1 | How much of the change is kept. 0 gives back the input mask. Slider from 0 to 1. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
Drainage Basins
Groups the terrain by drainage outlet or closed sink, and selects whole catchments by area or index.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Terrain | Map | The height map to look at. | |
| Analysis Resolution | Whole number | 512 | The most cells the water is followed on along the map. Higher finds smaller basins and is slower. Slider from 64 to 2048. |
| Analysis Smoothing [m] | Number | 10 | Smooths the height the water runs over, which removes small pits that would make their own basins. Slider from 0 to 500. |
| Minimum Area [m2] | Number | 20000 | Basins smaller than this are left out; on a coast, small ones join the catchment beside them. 1000000 m2 is one square kilometre. Slider from 0 to 10000000. |
| Maximum Area [m2] | Number | 0 | Basins bigger than this are left out. 0 sets no upper limit. Slider from 0 to 100000000. |
| Selection | Choice | All | Keep every basin passing the area limits, only the largest, or one picked by Region Index. Options: All, Largest, Index. |
| Region Index | Whole number | 1 | Which basin to keep, counted from 1 among those passing the area limits, in grid order (row by row from the map's corner). Slider from 1 to 1000. Shows only with some settings. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
Grow / Shrink
Widen or narrow a mask by some metres, with a soft edge.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Mask | Map | ||
| Amount | Number | 20 | Metres to widen the mask by. A negative amount narrows it instead. Slider from -500 to 500. |
| Softness | Number | 10 | Metres over which the new edge fades out. Slider from 0 to 200. |
| Threshold | Number | 0.5 | Mask values at or above this count as inside the mask. Slider from 0 to 1. |
Outputs
| Output | Kind |
|---|---|
| Out | Map. The result this node produces. |
Height Select
Mask a height band with soft edges.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| In | Map, any width | The value this node works on. | |
| Min Height | Number | 0.4 | The bottom of the height band, from 0 to 1 of the terrain height. Sea level is usually 0.5. Slider from 0 to 1. |
| Max Height | Number | 0.7 | The top of the height band, from 0 to 1 of the terrain height. Sea level is usually 0.5. Slider from 0 to 1. |
| Falloff | Number | 0.1 | How far below and above the band the mask fades out, in the same 0 to 1 units. 0 gives hard edges. Slider from 0 to 0.5. |
Outputs
| Output | Kind |
|---|---|
| Out | Map, any width. The result this node produces. |
Lake Fill
Water bodies: floods below a level, the basin round a seed, or fills hollows up to their spill point.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Terrain | Map | The terrain the simulation runs on. | |
| Extent | Choice | Fill Depressions | Global Level floods all ground below Water Level. Connected Basin only the flooded ground connected to the seed. Fill Depressions fills each hollow up to its spill point. Options: Global Level, Connected Basin, Fill Depressions. |
| Water Level [m] | Number | 20 | The water surface in metres above the sea. The terrain is not changed. Slider from -500 to 500. Shows only with some settings. |
| Basin Cells | Whole number | 512 | How many cells across the basins and their connections are worked out on. Narrow barriers need enough cells; more is slower. The shore is drawn on the full terrain. Slider from 64 to 2048. |
| Seed X | Number | 0.5 | Where the seed of Connected Basin lies, from the left (0) to the right (1) edge. It must be under water. Slider from 0 to 1. Shows only with some settings. |
| Seed Z | Number | 0.5 | Where the seed of Connected Basin lies, from the near (0) to the far (1) edge. It must be under water. Slider from 0 to 1. Shows only with some settings. |
| Min Depth [m] | Number | 1 | Water shallower than this is left out, so puddles do not count. Slider from 0 to 20. |
| Shore Softness [m] | Number | 0.5 | Over how many metres of depth the Water mask fades in at the shore. 0 gives a hard edge. Slider from 0 to 10. |
| Include Sea | On or off | Off | Also count the sea as water. Off gives lakes only. |
| White at [m] | Number | 10 | The depth that makes the Depth output fully white. Slider from 0.1 to 200. |
Outputs
| Output | Kind |
|---|---|
| Water | Map. 1 where there is water, fading in over Shore Softness at the edges. |
| Depth | Map. How deep the water is: 1 at White at metres or deeper. |
| Surface | Map. The height of the water surface where there is water, and the terrain everywhere else. |
Landform Classification
Masks peaks, ridges, shoulders, slopes, valleys or flats, from the relief against the neighbourhood and the slope.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Terrain | Map | The height map to look at. | |
| Landform Class | Choice | Ridges | The class the mask shows. Options: Peaks, Ridges, Shoulders, Slopes, Valleys, Flats. |
| Search Radius [m] | Number | 150 | How far around each point the ground is compared. Bigger finds bigger landforms. Slider from 10 to 2000. |
| Relief Threshold [m] | Number | 10 | How far above or below the neighbourhood's mean height a point must be to count as a ridge or a valley. Slider from 0.5 to 200. |
| Flat Slope Limit [deg] | Number | 8 | Ground gentler than this is flat, steeper ground is slope. Slider from 0 to 45. |
| Classification Softness | Number | 0.5 | How gradually one class blends into the next. 0 gives hard edges. Slider from 0 to 1. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
Local Height
Selects terrain above or below its neighbourhood. Positive heights are above the local average.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Terrain | Map | The height map to look at. | |
| Search Radius [m] | Number | 100 | How far around each point the average height is taken. Slider from 5 to 2000. |
| Selection | Choice | Above | Above keeps values from the lower value up, Below keeps values up to the upper value, Between keeps the band between them. Options: Above, Below, Between. |
| Lower Falloff | Number | 5 | How far below the lower value the mask fades out, in the same units. 0 gives a hard edge. Slider from 0 to 100. |
| Upper Falloff | Number | 5 | How far above the upper value the mask fades out, in the same units. 0 gives a hard edge. Slider from 0 to 100. Shows only with some settings. |
| Lower Relative Height [m] | Number | 5 | The lowest height above the local average that is selected. Negative is below the average. Slider from -200 to 200. |
| Upper Relative Height [m] | Number | 40 | The highest height above the local average that is selected. Negative is below the average. Slider from -200 to 200. Shows only with some settings. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
Mask Borders
Select a rim inside, outside or around a mask's edge, or where it changes gradually.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Mask | Map | ||
| Border | Choice | Inside | Inside, Outside or Around the mask's edge, or Gradient for where the mask changes. Options: Inside, Outside, Around, Gradient. |
| Width [m] | Number | 20 | How wide the border is, in metres. For Gradient: a change from 0 to 1 within this many metres shows white. Slider from 0 to 1000. |
| Transition [m] | Number | 5 | How many metres the border fades out over beyond Width. For Gradient: how far the mask is smoothed first. Slider from 0 to 200. |
| Selection Threshold | Number | 0.5 | Mask values at or above this count as inside the mask. Not used by Gradient. Slider from 0 to 1. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
Mask Regions
Keep the connected regions of a mask: all, the largest or one by index, filtered by area.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Mask | Map | ||
| Analysis Resolution | Whole number | 1024 | The most cells across the map the regions are found on. Higher finds thinner links and is slower. Slider from 64 to 4096. |
| Mask Threshold | Number | 0.5 | Mask values at or above this are part of a region. Slider from 0 to 1. |
| Minimum Area [m2] | Number | 0 | Regions smaller than this, in square metres, are left out. Slider from 0 to 10000000. |
| Maximum Area [m2] | Number | 0 | Regions larger than this, in square metres, are left out. 0 = no limit. Slider from 0 to 10000000. |
| Selection | Choice | All | All keeps every region within the area limits, Largest only the biggest, Index the one at Region Index. Options: All, Largest, Index. |
| Region Index | Whole number | 1 | Index only. Which region to keep, counting from 1 in grid order: rows from the south edge, west to east. Slider from 1 to 10000. Shows only with some settings. |
| Connect Diagonally | On or off | Off | On: cells touching only at a corner belong to one region. Off: they must share a side. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
Mask Transport
Carry a mask downhill along the terrain's drainage. The terrain height is not changed.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Terrain | Map | The height map the mask follows. | |
| Mask | Map | ||
| Flow Field | Map | Channels the mask is drawn into (white = strong), such as the Flow node's output. Used by Flow Source Flow Field. | |
| Flow Source | Choice | Runoff | Which paths the mask follows: rain water runoff, the local slope, or the Flow Field input. Options: Runoff, Terrain Slope, Flow Field. |
| Simulation Cells | Whole number | 512 | How many cells across the map the transport runs on. More is finer and slower. Slider from 64 to 2048. |
| Travel Distance [m] | Number | 800 | How far the mask is carried, in metres. 0 keeps the input. Slider from 0 to 5000. |
| Strength | Number | 1 | How much of the change is kept. 0 gives back the input mask. Slider from 0 to 1. |
| Channeling | Number | 0.5 | Keeps the mask to narrower downhill paths. 0 spreads it by slope alone. Slider from 0 to 1. |
| Deposition | Number | 0.3 | How much settles along the path, most where the slope flattens. Closed hollows always collect. Slider from 0 to 1. |
| Mixing | Number | 0.2 | Spreads the mask over more of the downhill paths at every cell. Slider from 0 to 1. |
| Inertia | Number | 0.3 | How much the mask keeps the direction it came in with. Slider from 0 to 1. |
| Variation | Number | 0.3 | Randomly varies how much is picked up and which way it goes, by Seed. Slider from 0 to 1. |
| Seed | Whole number | 0 | Change it for another random pattern. |
| Diffusion | Number | 0.2 | Mixes what is carried with its neighbours. 0 gives sharp streaks. Slider from 0 to 1. |
| Source Retention | Number | 0.5 | How much of the original mask stays where it was. The rest is carried away. Slider from 0 to 1. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
Normal
Which way the ground faces at each point, worked out the way Rust does it.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Height | Map |
Outputs
| Output | Kind |
|---|---|
| X | Map. How much the ground faces across the map, -1 to 1. |
| Y | Map. How much the ground faces up. 1 on flat ground. |
| Z | Map. How much the ground faces up the map, -1 to 1. |
Rough Edges
Make a mask's edges irregular within Edge Width of a threshold, keeping values farther in and out.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Mask | Map | ||
| Seed | Whole number | 0 | Change it for another random pattern. |
| Fine Detail | Number | 0.35 | How much the finer pattern counts. 0 keeps only the broad pattern. Slider from 0 to 1. |
| Detail Size [m] | Number | 15 | The size of the finer pattern, in metres. Slider from 1 to 200. |
| Boundary Threshold | Number | 0.5 | The mask value that marks the edge that is roughened. Slider from 0 to 1. |
| Edge Width [m] | Number | 15 | How far the edge may move in or out, in metres. Values farther from the edge stay as they are. Slider from 0.5 to 500. |
| Patch Size [m] | Number | 60 | The size of the broad, irregular patches, in metres. Slider from 5 to 2000. |
| Strength | Number | 1 | How far the edge is pushed, as a share of Edge Width. 0 leaves it smooth. Slider from 0 to 1. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
Sea Level
Land, underwater and shoreline masks around sea level (world height 0).
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Height | Map | ||
| Shore Width | Number | 4 | Metres above and below sea level that count as shore. Slider from 0 to 50. |
| Falloff | Number | 2 | Metres over which each mask fades out. Slider from 0.1 to 50. |
Outputs
| Output | Kind |
|---|---|
| Land | Map. 1 above sea level, 0 below it. |
| Underwater | Map. 1 below sea level, 0 above it. |
| Shore | Map. 1 within Shore Width of the waterline, above or below it. |
Slope
Steepness of the terrain as a 0..1 field.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| In | Map, any width | The value this node works on. |
Outputs
| Output | Kind |
|---|---|
| Out | Map, any width. The result this node produces. |
Slope Curvature
Selects changes in slope along a hillside, across it, or both, with separate hollow and ridge masks.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Terrain | Map | The height map to look at. | |
| Measure | Choice | Combined | Which change of slope to measure: along the hillside, across it, or both. Options: Profile, Plan, Combined. |
| Select | Choice | Both | What the Mask output shows: hollows, ridges, or both. Options: Hollows, Ridges, Both. |
| Search Radius [m] | Number | 25 | The distance the change of slope is measured over. Bigger finds bigger shapes, which bend less per metre, so lower Minimum Curvature with it. Slider from 1 to 500. |
| Pre Smoothing Radius [m] | Number | 8 | Smooths the terrain before measuring, so small bumps and noise do not show. Slider from 0 to 200. |
| Sensitivity | Number | 1 | Multiplies the measured curvature. Higher shows gentler bends. Slider from 0.1 to 10. |
| Minimum Curvature [1/m] | Number | 0.004 | Bends weaker than this are not selected. 0.01 is a bend of 1 m over 10 m. Slider from 0 to 0.1. |
| Transition [1/m] | Number | 0.012 | How much stronger than the minimum a bend must be to be fully selected. Slider from 0 to 0.1. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
| Hollows | Map. Concave ground only: hollows, channels and foot slopes. |
| Ridges | Map. Convex ground only: ridges, spurs and crests. |
Slope Select
Mask a slope band with soft edges.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| In | Map, any width | The value this node works on. | |
| Min Slope | Number | 0.3 | The gentlest slope in the band, from 0 (flat) to 1 (vertical). 0.5 is 45 degrees. Slider from 0 to 1. |
| Max Slope | Number | 1 | The steepest slope in the band, from 0 (flat) to 1 (vertical). 0.5 is 45 degrees. Slider from 0 to 1. |
| Falloff | Number | 0.1 | How far outside the slope band the mask fades out, on the same 0 to 1 scale. 0 gives hard edges. Slider from 0 to 0.5. |
Outputs
| Output | Kind |
|---|---|
| Out | Map, any width. The result this node produces. |
Snow Cover
Snow from temperature and sun, blown by the wind and slid off steep slopes.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Terrain | Map | The terrain the simulation runs on. | |
| Initial Snow Mask | Map | Where the starting snow layer is supplied: white is the full layer, black none. Not wired = everywhere. | |
| Snowfall Mask | Map | Where new snow falls during the run: white is full snowfall, black none. Not wired = everywhere. | |
| Snow Cells | Whole number | 512 | How many cells across the snow is worked out on. More is finer and slower. Slider from 64 to 2048. |
| Snowfall [m] | Number | 2 | How much snow comes where it is cold enough: half lies at the start, half falls during the run. Slider from 0 to 20. |
| Sea Temperature [C] | Number | 3 | The air temperature at sea level. Slider from -30 to 40. |
| Lapse Rate [C per km] | Number | 8 | How much colder it gets for every 1000 metres up. Air is about 6.5. Slider from 0 to 15. |
| Snow Line Softness [C] | Number | 3 | Over how many degrees round 0 [C] the snowfall fades out. Higher gives a softer snow line. Slider from 0.5 to 20. |
| Sun Direction [deg] | Number | 180 | Where the sun is: 0 north (+Z), 90 east (+X), 180 south. Slider from 0 to 360. |
| Sun Elevation [deg] | Number | 35 | How high the sun stands above the horizon. Slider from 0 to 90. |
| Sun Warming [C] | Number | 2 | How much warmer slopes facing the sun are than flat ground, and shaded ones colder. Slider from 0 to 20. |
| Melt Rate | Number | 0.2 | How much snow the sun and warm air melt. 0 melts nothing. Slider from 0 to 1. |
| Max Slope [deg] | Number | 55 | Snow does not stick to slopes steeper than this; it fades out over the 20 degrees below. Slider from 10 to 90. |
| Avalanche Angle [deg] | Number | 38 | Snow on slopes steeper than this slides down and piles up below. Slider from 10 to 80. |
| Powder | Number | 0.3 | How much of the snow is loose powder the wind can move. 0 keeps the snow where it fell. Slider from 0 to 1. |
| Wind Direction [deg] | Number | 90 | Where the wind blows the powder to: 0 north (+Z), 90 east (+X). Slider from 0 to 360. |
| Wind Strength | Number | 0.5 | How strong the wind is. It strips slopes facing it and fills the sheltered side. Slider from 0 to 1. |
| Solver Iterations | Whole number | 40 | How many steps the snowfall, the wind and the avalanches run for. More moves the snow further but takes longer. Slider from 1 to 500. |
| Full Cover [m] | Number | 1 | How thick snow must be for Snow Coverage to be fully white. Slider from 0.05 to 5. |
| Mask Range Maximum [m] | Number | 3 | The metres that make the thickness outputs and Avalanche Activity fully white. Slider from 0.1 to 50. |
Outputs
| Output | Kind |
|---|---|
| Snow Coverage | Map. Snow cover: 1 where the snow lies at least Full Cover metres thick, fading in smoothly. It follows the small ground shapes: thinner on ribs and bumps, thicker in gullies, and none on faces steeper than Max Slope. |
| Snow Thickness [m] | Map. How thick the snow lies: 1 at Mask Range Maximum metres or more. |
| Powder Thickness [m] | Map. How thick the loose powder lies (the Powder share of the snow): 1 at Mask Range Maximum metres or more. |
| Unstable Snow [m] | Map. How much snow lies on slopes near or past the avalanche angle: 1 at Mask Range Maximum metres or more. |
| Avalanche Activity | Map. Where avalanches ran: the snow that slid through each point, 1 at Mask Range Maximum metres or more. |
| Temperature [C] | Map. The air temperature, -30 [C] as 0 to +30 [C] as 1 (0 [C] is 0.5). |
| Sun Exposure | Map. How directly the sun shines on the ground, 0 (away from the sun) to 1 (facing it). |
Sun Exposure
Terrain shadow combined with how the ground faces the sun, for one sun direction.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Terrain | Map | The height map to look at. | |
| Shadow Distance [m] | Number | 800 | How far towards the sun the terrain is checked for anything casting a shadow. Slider from 10 to 10000. |
| Sun Direction [deg] | Number | 135 | Compass direction the sun shines from, clockwise from north. 0 is +Z, 90 is +X. Slider from 0 to 360. |
| Sun Elevation [deg] | Number | 30 | How high the sun stands above the horizon. Low sun casts long shadows, 90 is straight down. Slider from 0 to 90. |
| Sun Size [deg] | Number | 2 | Size of the sun disc in the sky: how soft shadow edges and the light on slopes turned from the sun are. Slider from 0.1 to 30. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
Sun Facing Mask
Selects slopes facing the chosen sun direction.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Terrain | Map | The height map to look at. | |
| Selection | Choice | Above | Above keeps values from the lower value up, Below keeps values up to the upper value, Between keeps the band between them. Options: Above, Below, Between. |
| Lower Falloff | Number | 0.15 | How far below the lower value the mask fades out, in the same units. 0 gives a hard edge. Slider from 0 to 2. |
| Upper Falloff | Number | 0.15 | How far above the upper value the mask fades out, in the same units. 0 gives a hard edge. Slider from 0 to 2. Shows only with some settings. |
| Sun Azimuth [deg] | Number | 135 | Compass direction the sun shines from, clockwise from north. 0 is +Z, 90 is +X. Slider from 0 to 360. |
| Sun Altitude [deg] | Number | 30 | How high the sun stands above the horizon. 90 is straight down, which faces every slope alike. Slider from 0 to 90. |
| Sampling Radius [m] | Number | 6 | The distance the ground's facing is measured over. Bigger ignores small bumps and follows the big slopes. Slider from 0 to 200. |
| Lower Facing | Number | 0.7 | The least facing that is selected: 1 faces the sun squarely, 0 is edge on, -1 is turned away. Flat ground reads the sine of Sun Altitude (0.5 at 30 deg). Slider from -1 to 1. |
| Upper Facing | Number | 1 | The most facing that is selected: 1 faces the sun squarely, 0 is edge on, -1 is turned away. Slider from -1 to 1. Shows only with some settings. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
Surface Pattern
A detailed material mask from ridges, hollows, slope, height, flow and irregular variation.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Terrain | Map | The height map to look at. | |
| Erosion | Map | Optional: where an erosion node took material away, used by Erosion Influence. | |
| Deposition | Map | Optional: where an erosion node laid material down, used by Deposit Influence. | |
| Flow | Map | Optional: a flow map, used by Flow Strength. Without it, streaks running downhill are made. | |
| Seed | Whole number | 0 | Changes the variation and the streaks. Slider from 0 to 10000. |
| Invert | On or off | Off | Swaps black and white. |
| Balance | Number | 0 | Shifts the whole mask towards darker (below 0) or brighter (above 0). Slider from -1 to 1. |
| Contrast | Number | 1 | How far the influences push away from grey. 0 gives a flat neutral grey. Slider from 0 to 4. |
| Radius [m] | Number | 25 | The size of the ridges and hollows Convexity and Concavity follow. Slider from 2 to 500. |
| Convexity | Number | 0.6 | How much convex ridges and crests brighten (below 0 darken) the mask. Slider from -1 to 1. |
| Concavity | Number | -0.3 | How much concave hollows and gullies brighten (below 0 darken) the mask. Slider from -1 to 1. |
| Detail Scale [m] | Number | 6 | The size of the fine ridges and cavities Curvature Detail follows. Slider from 1 to 100. |
| Curvature Detail | Number | 0.4 | How much fine ridges brighten and fine cavities darken the mask. Slider from -1 to 1. |
| Slope Influence | Number | 0.3 | How much slopes between Slope Start and Slope End brighten (below 0 darken) the mask, and other ground the opposite. Slider from -1 to 1. |
| Slope Start [deg] | Number | 30 | The gentlest slope Slope Influence picks out. Slider from 0 to 90. |
| Slope End [deg] | Number | 60 | The steepest slope Slope Influence picks out. Slider from 0 to 90. |
| Slope Softness | Number | 0.3 | How gradually the slope band fades in and out. Slider from 0 to 1. |
| Height Influence | Number | 0 | How much high ground brightens (below 0 darkens) the mask; full at 250 m above sea level. Slider from -1 to 1. |
| Flow Strength | Number | 0.3 | How much the Flow input brightens the mask. Without the input, streaks running downhill are added. Slider from -1 to 1. |
| Flow Detail | Number | 0.5 | How fine the downhill streaks are, from broad (0) to fine (1). Slider from 0 to 1. |
| Erosion Influence | Number | 0 | How much the Erosion input brightens (below 0 darkens) the mask. Slider from -1 to 1. |
| Deposit Influence | Number | 0 | How much the Deposition input brightens (below 0 darkens) the mask. Slider from -1 to 1. |
| Variation Size [m] | Number | 150 | Size of the irregular patches. Medium Detail is a quarter of it, Fine Grain a sixteenth. Slider from 5 to 2000. |
| Patches | Number | 0.25 | How strongly irregular patches at Variation Size break up the mask. Slider from 0 to 1. |
| Medium Detail | Number | 0.15 | Variation at a quarter of Variation Size. Slider from 0 to 1. |
| Fine Grain | Number | 0.1 | Variation at a sixteenth of Variation Size. Slider from 0 to 1. |
| Chaos | Number | 0.3 | Warps the variation and varies how strongly the terrain counts from place to place. Slider from 0 to 1. |
| Chaos Scale [m] | Number | 250 | Size of the areas Chaos varies. Slider from 10 to 5000. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
Terrain Changes
Compares two terrains in metres: where A is higher, lower, equal or different from B.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Terrain A | Map | The edited terrain. | |
| Terrain B | Map | The original terrain, compared with A. | |
| Comparison | Choice | A > B | What to select: A higher (deposited), A lower (eroded), equal, different, or a range of A - B. Options: A > B, A < B, Equal, Different, Difference Range. |
| Lower Difference [m] | Number | -10 | The lowest A - B in metres that Difference Range selects. Slider from -500 to 500. Shows only with some settings. |
| Upper Difference [m] | Number | 10 | The highest A - B in metres that Difference Range selects. Slider from -500 to 500. Shows only with some settings. |
| Tolerance [m] | Number | 0.1 | Differences up to this many metres count as equal; the range is widened by it. Slider from 0 to 50. |
| Transition [m] | Number | 1 | Over how many metres beyond the tolerance or the range the mask fades. 0 gives a hard edge. Slider from 0 to 100. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map. 1 where the comparison holds, fading over Transition. |
Terrain Roughness
Selects uneven ground and surface detail, to separate smooth terrain from rocky areas.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Terrain | Map | The height map to look at. | |
| Radius [m] | Number | 10 | The size of the bumps that count as roughness. Shapes bigger than this count as smooth slopes. Slider from 1 to 500. |
| White at [m] | Number | 1.5 | How many metres the ground must vary around its smoothed self to be fully white. Slider from 0.05 to 50. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
Terrain Shelter
Selects ground enclosed by the surrounding terrain (occlusion).
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Terrain | Map | The height map to look at. | |
| Search Radius [m] | Number | 150 | How far around each point the terrain can shelter it. Slider from 10 to 3000. |
| Strength | Number | 2 | Contrast of the mask. Higher makes gentle hollows read fully sheltered. Slider from 0.1 to 10. |
| Horizon Bias [deg] | Number | 5 | Horizon angles below this are ignored, so near flat ground is not darkened. Slider from 0 to 30. |
| Quality | Whole number | 2 | How many directions are looked along (8 at 1, 28 at 6). Higher is smoother and slower. Slider from 1 to 6. |
| Analysis Intervals | Whole number | 16 | How many samples each direction takes out to the search radius. More finds narrow ridges and is slower. Slider from 4 to 64. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
Threshold / Range Mask
Select a range of mask values: above, below or between, with soft falloffs.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Mask | Map | ||
| Selection | Choice | Above | Above keeps high values, Below keeps low values, Between keeps a band of values. Options: Above, Below, Between. |
| Lower Falloff | Number | 0.1 | How far below the lower value the mask fades in. 0 gives a hard edge. Slider from 0 to 1. |
| Upper Falloff | Number | 0.1 | How far above the upper value the mask fades out. 0 gives a hard edge. Slider from 0 to 1. Shows only with some settings. |
| Lower Value | Number | 0.5 | The bottom of the selected range. The mask is 1 from here up. Slider from 0 to 1. |
| Upper Value | Number | 0.75 | The top of the selected range. The mask is 1 from here down. Slider from 0 to 1. Shows only with some settings. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
Wetness Potential
Relative wetness from the upslope area draining through each point and its slope (topographic wetness index).
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Terrain | Map | The height map to look at. | |
| Analysis Resolution | Whole number | 512 | The most cells the water is followed on along the map. Higher finds finer streams and is slower. Slider from 64 to 1024. |
| Analysis Smoothing [m] | Number | 10 | Smooths the height the water runs over, so small pits and bumps do not break up the streams. Slider from 0 to 200. |
| Dry Threshold | Number | 4 | Wetness index shown black. Crests are about 2, open slopes about 5. Slider from 0 to 30. |
| Wet Threshold | Number | 12 | Wetness index shown white. Valley floors are about 10, rivers 14 and above. Slider from 0 to 30. |
| Minimum Slope [deg] | Number | 0.5 | The flattest slope counted, so flat ground does not read endlessly wet. Slider from 0.01 to 10. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |
Wind Shelter
Ground sheltered by terrain upwind, from the angle of the upwind horizon.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| Terrain | Map | The height map to look at. | |
| Wind | Map | Optional: turns the wind at each point, 0 to 1 for 0 to 360 degrees added to Wind From. | |
| Wind From [deg] | Number | 0 | Compass direction the wind blows from. 0 is from +Z (north), 90 from +X (east). Slider from 0 to 360. |
| Search Radius [m] | Number | 300 | How far upwind the terrain can give shelter. Slider from 10 to 3000. |
| Direction Spread [deg] | Number | 30 | How wide a fan of directions around Wind From is checked, as gusts change direction. Slider from 0 to 180. |
| Height Above Ground [m] | Number | 2 | How high above the ground the wind is measured. Higher ignores small bumps upwind. Slider from 0 to 50. |
| Selection | Choice | Above | Above keeps values from the lower value up, Below keeps values up to the upper value, Between keeps the band between them. Options: Above, Below, Between. |
| Lower Falloff | Number | 4 | How far below the lower value the mask fades out, in the same units. 0 gives a hard edge. Slider from 0 to 45. |
| Upper Falloff | Number | 4 | How far above the upper value the mask fades out, in the same units. 0 gives a hard edge. Slider from 0 to 45. Shows only with some settings. |
| Lower Shelter Angle [deg] | Number | 6 | The lowest shelter angle selected: how high the upwind terrain rises above the point. Negative is exposed ground. Slider from -60 to 60. |
| Upper Shelter Angle [deg] | Number | 30 | The highest shelter angle selected. Slider from -60 to 60. Shows only with some settings. |
Outputs
| Output | Kind |
|---|---|
| Mask | Map |