Skip to content

Distance ​

Data data.distance

A glow around the white areas of a mask: white at the shapes, fading to black at Distance away. Inside mode measures inwards from the edges instead.

Distance with default settings

Output with default settings, rendered by LibreTerrain.

Inputs ​

PortType
InMask

Outputs ​

PortType
OutMask

Settings ​

SettingDefaultRange / optionsDescription
MeasureOutside the shapesOutside the shapes, Inside the shapes
Distance500 m0.01 to 1,000,000 mDistance at which the fade ends, in metres.
Threshold0.50 to 1Mask values above this count as inside the shapes.
ProfileLinearLinear, Smooth, Rounded
InvertOffSwap black and white.

See also ​

Aspect · Curvature · Flow · Height Mask · Occlusion · Rock Hardness · Select Range · Slope · Wetness

Code dual-licensed MIT / Apache-2.0. "LibreTerrain" and its logo belong to EllisonDigital.