Gradient
Primitivesprimitive.gradientA ramp: a straight slope across the terrain, or a radial bowl around a point.

Output with default settings, rendered by LibreTerrain.
Outputs
| Port | Type | |
|---|---|---|
| Out | Heightfield |
Settings
| Setting | Default | Range / options | Description |
|---|---|---|---|
| Mode | Linear | Linear, Radial (bowl) | |
| Direction | 0 ° | 0 to 360 ° | Linear only: the direction the ramp rises towards. 0° = +X (right), 90° = +Y (down). |
| Length | 8,192 m | 1 to 1,000,000 m | Distance over which the ramp rises from Base to Base + Height (the radius, for Radial). |
| Profile | Straight | Straight, Smooth (eased ends) | |
| Height Mask port | 1,000 m | 0 to 20,000 m | Height of the feature above its base, in metres. |
| Base | 0 m | -10,000 to 10,000 m | Height of the surrounding ground, in metres. |
| Position X | 0 m | -1,000,000 to 1,000,000 m | East/west offset from the centre of the world, in metres. |
| Position Y | 0 m | -1,000,000 to 1,000,000 m | North/south offset from the centre of the world, in metres. |
Mask ports
Settings marked Mask port can be driven by a mask. Click the setting's Mask port button and connect a mask to the new green input: black scales the value to 0, white keeps the value you set.
