Also known as: Simple Displacement, Distortion, Warping
Warps terrain by pushing it sideways, by amounts and directions set with angle, distance, or vector inputs.
When to Use
Use Displacement to give terrain a warped, sheared, or flowing look. The results can be wild: rock can look pulled like taffy, or bowed and wavy. The look depends heavily on the features of the maps connected to the distortion inputs.
- Natural-looking warping: Connect noise or erosion masks to the distance input.
- Separate east-west and north-south control: Use Vector (X & Y) mode to supply a displacement map for each direction.
- Warping with a transform: Use a coordinate transform, for example from a Placement device, to warp the terrain.
How to Use
Connect terrain to the Primary Input, then raise Distance: at its default of 0 nothing moves. Connect maps to the distortion inputs to vary the direction and strength of the push across the terrain.
- Connect terrain to the primary input.
- Choose the Type of displacement control.
- For “Angle and Distance” mode:
- Set Direction to control which way features move
- Adjust Distance for displacement strength
- Connect a mask to Distortion Distance for variable displacement (with nothing connected, the full Distance is used everywhere)
- For “Vector (X & Y)” mode:
- Connect X displacement to Distortion X Component
- Connect Y displacement to Distortion Y Component (connect both; a missing component input does not default to “no movement”)
- Use Distance to scale the vector magnitude
- Enable Bidirectional for symmetric push/pull effects.
Inputs
The names of the second and third inputs change with Type.
| Port | Type | Required | Description |
|---|---|---|---|
| Primary Input | Heightfield | Yes | The terrain to displace |
| Distortion Angle / Distortion X Component | Heightfield | Optional | Angle and Distance: added to Direction to vary the direction per pixel (the full 0-1 range turns once around the circle). Vector: the sideways (X) displacement |
| Distortion Distance / Distortion Y Component | Heightfield | Optional | Angle and Distance: varies the displacement strength per pixel. Vector: the north-south (Y) displacement |
| Placement Input | Placement | Optional | Only present when Type is Use Transform Input: the coordinate transform (for example from a Placement device) used to warp the terrain |
| Mask Input | Heightfield | Optional | Controls where the effect is applied |
Outputs
| Port | Type | Description |
|---|---|---|
| Primary Output | Heightfield | The displaced terrain |
Parameters
Type (Default: Angle and Distance) – Choose how to specify displacement:
- Angle and Distance: Moves the terrain in the Direction you set, by up to Distance. The angle and distance inputs vary the direction and strength per pixel.
- Vector (X & Y): Uses two inputs as separate east-west and north-south displacement amounts, scaled by Distance.
- Use Transform Input: Warps the terrain with a coordinate transform connected to the Placement Input. The two distortion inputs and the Direction, Distance, and Bidirectional settings are not used.
Direction (Default: 0 degrees, Range: 0 to 360 degrees) – The direction to push the terrain towards. 0 is East. Only visible when Type is Angle and Distance.
Distance (Default: 0 m, Range: 0 to 64,000 m) – The maximum distance to displace features. Uses a logarithmic slider. The default of 0 means no displacement until you raise it. Not visible when Type is Use Transform Input.
Bidirectional (Default: on) – When on, input values below 0.5 push the terrain backwards and values above 0.5 push it forwards, with 0.5 meaning no movement; the inputs then reach half of Distance in each direction. When off, displacement only goes forwards, from none at 0 to the full Distance at 1. Not visible when Type is Use Transform Input.
Edge Handling (Default: Mirror interior) – Controls how pixels pulled from beyond the edge of the world are filled in:
- Repeat edge: Repeats the values at the edge
- Mirror interior: Reflects interior values across the edge
- Opposite side: Wraps around to the opposite edge
Tips and Tricks
- Features move toward the Direction you set: an angle of 90 degrees pushes the terrain north.
- Mirror interior edge handling typically produces the most natural-looking results.
- For subtle effects, keep Distance to a few tens of meters; large values smear the terrain into long streaks.
Limitations
- Displacement can create seams at tile boundaries when building tiled worlds.