Gradient

Creates a linear gradient: a straight ramp that rises from 0 to 1 in the direction you choose, across a width you set.

When to Use

  • Directional slopes: Combine multiple gradients at different angles to create complex directional terrain slopes.
  • Natural falloffs: The Soft clip tiling mode creates natural-looking falloffs that extend beyond the core gradient width without hard edges.
  • Splitting the world: When Width is set very small, the gradient becomes a hard, straight-edged step from 0 to 1, useful as a mask that splits the world in two.
  • Stripes and bands: Repeat Mirrored creates symmetrical patterns useful for striped terrain or geological features.

How to Use

By default it rises from west to east over 8 km, easing gently into flat values of 0 and 1 beyond the ends of the ramp.

  1. Place the Gradient device and position it where you want the gradient centered.
  2. Set the Direction to control which way the gradient faces.
  3. Adjust Width to set how gradually the transition occurs.
  4. Choose a Tiling mode based on whether you need the gradient to extend, clip, or repeat beyond its core width.
  5. Optionally connect a curve to HeightCurve to reshape the gradient profile, or to Width Curve to vary the width along the perpendicular axis.

Inputs

PortTypeRequiredDescription
HeightCurveCurveOptionalReshapes the gradient’s profile through a custom curve
Width CurveCurveOptionalWidens or narrows the gradient along its length (across the slope direction)

Outputs

PortTypeDescription
Primary OutputHeightfieldThe generated gradient

Parameters

  • Direction: Angle of the gradient in degrees. Default: 0. Range: 0 to 360. Accepts spatial input. The gradient rises from 0 to 1 in this direction. At 0 degrees, the open slope faces West and the gradient increases Eastward. The angle sweeps counter-clockwise.
  • Width: Distance over which the gradient rises from 0 to 1. Default: 8,000 m (8 km). Range: 0 m to 256 km, on a logarithmic slider. Accepts spatial input. The gradient is centered on the generator’s placement origin.
  • Tiling: What happens past the ends of the ramp. Default: Soft clip. Options: Hard clip, Soft clip, Repeat Mirrored, Repeat Discontinuous.
    • Hard clip: Values level off sharply at 0 and 1 outside the gradient area.
    • Soft clip: Values level off gently, easing into 0 and 1 around the ends of the ramp.
    • Repeat Mirrored: The gradient reflects back and forth infinitely.
    • Repeat Discontinuous: The gradient jumps from 1 back to 0 and repeats.

Tips and Tricks

  • The Width Curve input allows creating gradient shapes that widen and narrow, useful for river valleys or erosion patterns.
  • Use spatial input on Direction to create spiral or curved gradient patterns.

Older Versions

Gradients from projects made before the HeightCurve and Width Curve inputs existed use an older version of the device with a non-spatial Direction and only Clamp, Mirrored Repeat and Discontinuous Repeat tiling. Updating the device keeps the same look.

Updated on December 3, 2026
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support