Skip to main content

Linear Gradient

The Transition. Generates a linear or diagonal transition from 0 to 1 across the map.

Ports

PortTypeDirectionDescription
Output FloatOutputThe generated gradient map.

Details

Use this to create gradual transitions, such as making a biome more likely to appear as you move further East (X-axis) or making a cave wetter as you go deeper (Y-axis).

Parameters

  • Direction:
    • X / Y: Simple linear gradients.
    • Diagonal: Linear gradient at a specific angle.
  • Scale: Controls how quickly the gradient reaches its maximum value.