Also known as: Height Selector
Creates a selection mask based on elevation, targeting terrain within a specified height range.
When to Use
- Texturing and effects by elevation: Use the mask to drive other effects like texturing, erosion intensity, or device blending.
- Water levels: Use small falloff Distance values (near 0) for precise elevation-based masking like water levels.
- Snowlines: Select the high ground, and vary the falloff to soften the snowline in some areas and sharpen it in others.
How to Use
Connect a terrain to the Primary Input. By default the lower half of the project’s height range is selected, with a smooth falloff fading out above it.
- Connect a terrain to the input
- Set the Height Range to target your desired elevation band (e.g., 500m to 1000m for mid-elevation features)
- Adjust the falloff Distance to control transition sharpness
Inputs
| Port | Type | Required | Description |
|---|---|---|---|
| Primary Input | Heightfield or VDM | Required | The terrain to analyze for elevation |
| Mask Input | Heightfield | Optional | Limits the selection: the output fades to black where the mask is black |
Outputs
| Port | Type | Description |
|---|---|---|
| Primary Output | Heightfield | Mask showing selected elevation range |
Parameters
Height Range
The band of elevations to select. Shown in your project’s elevation units; the full slider spans the project’s height range, from its lowest to its highest possible elevation.
- Default: the lower half of the height range (0.0 to 0.5 of the range)
Falloff
Distance Controls the transition zone width between selected and unselected areas. Small values create sharp-edged masks, while large values produce gentle transitions. Measured as a height difference in your project’s elevation units. Accepts spatial input.
- Default: 0.3 of the project’s height range
- Range: 0 to the full height range
- At 0 the mask has a hard edge exactly at the range limits
Type Determines the curve shape of the falloff transition.
- Default: Smoothstep
- Options:
- Linear: Even, constant-rate falloff
- Exponential: Sharp initial dropoff with a long tail that continues past the Distance
- Smoothstep: Smooth S-curve transition
Direction (Advanced) Controls where the falloff sits relative to the Height Range. Accepts spatial input.
- Default: 1.0
- Range: 0.0 to 1.0
- At 1.0 the whole range is fully selected and the falloff fades outward beyond it
- At 0.0 the falloff fades inward, so with Linear or Smoothstep falloff the selection reaches zero right at the range limits
- Values in between straddle the range limits; 0.5 centers the transition on them
Pin extremes (Advanced) When the Height Range reaches the lowest or highest elevation of the project’s height range, keeps that end fully selected even when Direction pulls the falloff inward. This way a range that starts at the bottom still selects the lowest ground completely.
- Default: checked
Invert Selection
Reverses the mask so excluded areas become selected and vice versa.
- Default: unchecked
Tips and Tricks
- For VDM inputs, selection is based on the height of each point on the displaced surface, so overhangs are selected by their actual elevation
- Set Direction to 0.0 (with Linear or Smoothstep falloff) when the mask must not spill beyond the range you set, for example when it must stay below a water level