Range Select Node
- Category: Masking
- Edition: All editions
- Output type: Mask
- Typical place in a graph: after a height or mask, to cut out one band of its values for texturing or spawning
Range Select marks every spot where its input falls between Min and Max, and nothing else. The result is a hard mask: fully on inside the band, fully off outside, with no fade. Feed it the terrain height to cut out an altitude band, or any mask to pick out part of its values, such as some of the cells of a Voronoi or the middle strength of an erosion output.

When to use it
- Cut a sharp altitude band out of the height, such as a plateau level or a ledge of strata.
- Pick some patches out of a patchy mask: some cells of Raw Cells from Voronoi, or the middle values of a Noise.
- Make a clean on and off mask to drive spawning where you want a crisp border.
- Not for: soft altitude bands with a fade (use Height Mask, which also works in meters); a simple "above this value" cut with a soft option (use Threshold); several rules at once (use Geometry Mask).
Inputs
| Slot | Type | Required | What to connect |
|---|---|---|---|
| Input | Mask | Yes | The values to select from: the terrain height (0 to 1 of the terrain height) or any mask. With nothing connected, the input counts as 0 everywhere, so the output is all on if Min is 0 and all off otherwise. |
Outputs
| Slot | Type | What it holds |
|---|---|---|
| Output | Mask | 1 where the input is between Min and Max, both ends included; 0 everywhere else. There are no values in between. |
Properties
| Property | Default | Range | What it does |
|---|---|---|---|
| Min | 0 | 0 to 1 | Bottom of the band. Input values below it are off. It cannot go above Max. |
| Max | 1 | 0 to 1 | Top of the band. Input values above it are off. It cannot go below Min. |
The defaults select the whole 0 to 1 range, so the node starts out marking everything. Both values are fractions, not meters: on the terrain height, multiply by the Vista Manager's Max Height to get meters. With a terrain height of 400 m, 0.3 to 0.5 is 120 m to 200 m.
Common properties
| Property | What it does |
|---|---|
| Id | The node's unique name in this graph, shown for reference. You cannot edit it. Scripts and the AI workflow CLI use it to find the node. |
| Resolution | How detailed this node's result is, in texels across the biome. Relative To Main Input (default) matches the mask connected to Input, times the multiplier below it. Relative To Graph follows the biome's Canvas Resolution instead. Absolute sets an exact size. The edge of the band is one texel sharp, so a lower resolution makes it look more stepped. Absolute is limited to 32 to 512 in Vista Personal and 32 to 4096 in Vista Indie and Pro. |
| Split Execution | Lets this node run over several frames so the editor stays responsive during long generations. It only works when Allow Split Execution is on in the graph settings. This node finishes in one step, so splitting only adds a short pause around it; leave it off. |
| Bypass | Skips the node. Nothing comes out, and the nodes after it act as if nothing were connected. |
Examples
Both examples select from the same eroded mountains (Noise, Scale 600, then Hydraulic Erosion 2) on a 1024 × 1024 m biome with a terrain height of 400 m; the land reaches from about 18 m to 256 m. The 2D view shows the mask from black to red; the 3D view shows it in red over the terrain.
| Setting | 2D | 3D |
|---|---|---|
| Middle band: Min 0.3, Max 0.5 (120 m to 200 m) | ![]() |
![]() |
| Top: Min 0.5, Max 1 (above 200 m) | ![]() |
![]() |
The middle band wraps around the mountains at mid height and leaves both the valleys and the summit out. Raising Min to 0.5 keeps only the one summit that climbs above 200 m. In both cases the border is a hard line that follows the contour exactly.
Recipes
- Rock ledge at one altitude: height → Range Select (a narrow band, such as 0.40 to 0.43) → Blur (small radius) → weight of a rock texture layer.
- Some Voronoi cells only: Voronoi Raw Cells (1 layer) → Range Select (such as 0.2 to 0.45) → a texture or grass mask on those plots only.
- Soft altitude band: use Height Mask with its Transition curve instead; it gives the fade Range Select does not.
Tip
The edge is a hard step, which reads as an artificial line on the terrain. Soften it with Blur before using it as a texture weight, or use Height Mask for altitude.
Note
Min can never go above Max, and Max never below Min: each one stops at the other. To move the whole band up, raise Max first, then Min; to move it down, lower Min first.
Note
Values above 1 are outside every band, even with Max at 1. Most masks stay between 0 and 1, but a few outputs, such as Voronoi Raw Cells with several layers, go higher. Bring them back into 0 to 1 with Levels or Clamp first.
Note
On the terrain height, the band is a fraction of the Vista Manager's Max Height. Change that setting and the same band selects a different altitude in meters. Height Mask works in meters and has no such issue.
Performance
Very cheap: one quick GPU step.
Related nodes
- Height Mask: an altitude band in meters, with a soft transition curve.
- Threshold: cuts a mask at a value.
- Expand, Shrink: grow or shrink the selected area afterwards.
- Geometry Mask: height, slope and direction rules in one node.
For AI agents
- Type name:
RangeSelectNode. Slot ids: Input =0, Output =100(both Mask). - Properties for
vista_graphitor_node_set:min(0 to 1),max(0 to 1). The setter clampsminto at most the currentmax, andmaxto at least the currentmin, so set them in an order that never crosses: raisemaxbeforemin, lowerminbeforemax. Read back the returned value to catch a clamp. - Output = (input ≥ min) × (input ≤ max), from the input's red channel. Strictly 0 or 1.
- Empty input reads as 0. Bypass gives no output.
- On a height input, meters = value × the Vista Manager's terrainMaxHeight.
- Pitfalls: hard edges (blur afterwards); inputs above 1 never selected; band is relative to terrain height, not meters.


