Also known as: Angle Selector
Creates a selection mask of the slopes that face a chosen direction, such as all the north-facing slopes of your terrain.
When to Use
Select Aspect is useful for simulating directional effects like sun exposure or prevailing wind:
- Sun exposure: Set Heading to your sun direction and Elevation to your sun angle. North-facing slopes (heading 270°) receive less sun in the northern hemisphere.
- One side of cliffs: Setting Elevation to 0° selects vertical or near-vertical faces that point toward the heading, which is useful for picking out one side of cliffs.
- Refined selections: Combine with Select Slope to refine the selection (e.g., steep north-facing cliffs only).
- Texture splatting: The secondary Surface angle output is useful for texture splatting based on orientation.
How to Use
Connect a terrain to the Terrain input. By default the Facing amount output selects west-facing slopes, tested at 45° above the horizon.
- Connect a terrain to the input.
- Set Heading to the compass direction you want to target (e.g., 270° for north-facing slopes).
- Adjust Elevation to control the vertical angle (low values favor steep faces, higher values favor gentler slopes and flat ground).
- Use the primary output mask to drive directional effects.
- Optionally use the Surface angle output to visualize terrain orientation.
Inputs
| Port | Type | Required | Description |
|---|---|---|---|
| Terrain input | Heightfield or VDM | Required | The terrain to analyze for surface orientation |
| Mask Input | Heightfield | Optional | Limits the selection: the outputs fade to black where the mask is black |
Outputs
| Port | Type | Description |
|---|---|---|
| Facing amount | Heightfield | Mask showing how much each point faces the specified direction |
| Surface angle | Heightfield | The compass direction each slope faces, as a value from 0 to 1 around the full circle: 0 (and 1) is East, 0.25 North, 0.5 West, 0.75 South |
Parameters
Heading
The compass direction the selected slopes face, sweeping counter-clockwise from West: 0° selects West-facing slopes, 90° South-facing, 180° East-facing, and 270° North-facing. Accepts spatial input.
- Default: 0° (West-facing slopes)
- Range: 0° to 359°
Elevation
The elevation angle above the horizon of the direction being tested. At 0° the direction is horizontal, so steep faces pointing toward the Heading are selected most strongly. At 90° the direction points straight up, so flat ground is selected and Heading no longer matters. In between, slopes that tilt toward the heading by the matching amount are selected. Accepts spatial input.
- Default: 45°
- Range: 0° to 90°
Tips and Tricks
- The Facing amount fades smoothly: slopes facing exactly along the chosen direction are white, slopes at right angles to it or facing away are black.