Distance
ModifyPalette node
DistanceBuilds a sloping heightfield from distance to a shape boundary. Useful for landmasses, ridges, clearings, and other masks.
Inputs
1In
inHeightfieldRequired
Outputs
1Out
outHeightfield
Parameters
4| Parameter | Type | Default | Range or choices |
|---|---|---|---|
Regionmode | Choice | Inside | Inside, Outside |
Thresholdthreshold | Number | 0.5 | 0 – 1 |
Range (0 = Auto)range | Number | 0 | 0 – 1 |
Fallofffalloff | Number | 1 | 0.1 – 4 |
When to use
Place it after any compatible heightfield. Chain modifiers from broad value shaping to fine cleanup.
Example connection:
Compatible source → Distance → Autolevel/Blend → Build Map
Notes
Heightfield outputs are sampled at the active preview resolution and at terrain-voxel density during a build.