Skip to main content

Filters

RustEdit Pro

The nodes in the Filters category of the Terrain Graph's Add Node menu. Round sockets carry maps and square sockets carry single values. See Graph editor.

Amplitude​

Multiply the field by a gain value.

Inputs

InputKindDefaultNotes
InMap, any widthThe value this node works on.
AmplitudeNumber1Multiplies the values. 1 keeps them as they are. The result stays between 0 and 1. Slider from 0 to 2.

Outputs

OutputKind
OutMap, any width. The result this node produces.

Clamp​

Limit values to a range.

Inputs

InputKindDefaultNotes
InMap, any widthThe value this node works on.
MinNumber0Values below this are raised to it. Slider from 0 to 1.
MaxNumber1Values above this are lowered to it. Slider from 0 to 1.

Outputs

OutputKind
OutMap, any width. The result this node produces.

Contrast​

Brightness and contrast around a pivot value.

Inputs

InputKindDefaultNotes
InMap, any widthThe value this node works on.
BrightnessNumber0Added to every value after the contrast. Slider from -1 to 1.
ContrastNumber1Above 1 pushes values away from the pivot, below 1 pulls them towards it. Slider from 0 to 4.
PivotNumber0.5The value that contrast leaves where it is. Slider from 0 to 1.

Outputs

OutputKind
OutMap, any width. The result this node produces.

Curve​

Reshape values through a curve you draw.

Inputs

InputKindDefaultNotes
InMap, any widthThe value this node works on.

Outputs

OutputKind
OutMap, any width. The result this node produces.

Settings

SettingKindDefaultNotes
CurveCurveClick to edit. The input runs along the bottom from 0 to 1; the curve's height is the output.

Function​

Abs, sine, cosine, smoothstep or inverse lerp on every pixel.

Inputs

InputKindDefaultNotes
InMap, any widthThe value this node works on.
FunctionChoiceAbsThe function to apply to every pixel. Options: Abs, Sin, Cos, Smoothstep, Inverse Lerp.
ANumber0Smoothstep and Inverse Lerp only. The value that becomes 0. Shows only with some settings.
BNumber1Smoothstep and Inverse Lerp only. The value that becomes 1. Shows only with some settings.

Outputs

OutputKind
OutMap, any width. The result this node produces.

Invert​

Flip values (1 - v).

Inputs

InputKindDefaultNotes
InMap, any widthThe value this node works on.

Outputs

OutputKind
OutMap, any width. The result this node produces.

Levels​

Set the black and white points, bend the middle with gamma, and pick the output range.

Inputs

InputKindDefaultNotes
InMap, any widthThe value this node works on.
In BlackNumber0Input values at or below this become the output black. Slider from 0 to 1.
In WhiteNumber1Input values at or above this become the output white. Slider from 0 to 1.
GammaNumber1Bends the middle values. Above 1 lifts them, below 1 lowers them. Slider from 0.1 to 5.
Out BlackNumber0The lowest value the output can have. Slider from 0 to 1.
Out WhiteNumber1The highest value the output can have. Slider from 0 to 1.

Outputs

OutputKind
OutMap, any width. The result this node produces.

Normalize​

Stretch values to fill 0..1.

Inputs

InputKindDefaultNotes
InMap, any widthThe value this node works on.

Outputs

OutputKind
OutMap, any width. The result this node produces.

Power​

v -> pow(v, exponent).

Inputs

InputKindDefaultNotes
InMap, any widthThe value this node works on.
ExponentNumber2Bends the values. Above 1 pushes the middle values down, below 1 lifts them. 1 changes nothing. Slider from 0.05 to 8.

Outputs

OutputKind
OutMap, any width. The result this node produces.

Quantize​

Round every pixel to a set number of levels.

Inputs

InputKindDefaultNotes
InMap, any widthThe value this node works on.
StepsWhole number255How many levels above 0. Slider from 1 to 65535.

Outputs

OutputKind
OutMap, any width. The result this node produces.

Remap​

Linearly remap an input range to an output range.

Inputs

InputKindDefaultNotes
InMap, any widthThe value this node works on.
In MinNumber0Input values at or below this become Out Min. Slider from 0 to 1.
In MaxNumber1Input values at or above this become Out Max. Slider from 0 to 1.
Out MinNumber0The value that In Min and lower inputs become. Slider from 0 to 1.
Out MaxNumber1The value that In Max and higher inputs become. Slider from 0 to 1.

Outputs

OutputKind
OutMap, any width. The result this node produces.

Smooth​

Blur / soften the field.

Inputs

InputKindDefaultNotes
InMap, any widthThe value this node works on.
RadiusWhole number4How far the blur reaches, in pixels each way. 0 turns it off. Slider from 0 to 64.

Outputs

OutputKind
OutMap, any width. The result this node produces.

Terrace​

Stepped plateaus / strata.

Inputs

InputKindDefaultNotes
InMap, any widthThe value this node works on.
StepsWhole number8How many steps the values are cut into, from bottom to top. Slider from 2 to 64.
SharpnessNumber0.5How hard the step edges are. 0 gives soft, rounded steps. 1 gives flat steps with sheer jumps. Slider from 0 to 1.

Outputs

OutputKind
OutMap, any width. The result this node produces.

Transform​

Zoom / pan / rotate the field.

Inputs

InputKindDefaultNotes
InMap, any widthThe value this node works on.
ScaleNumber1Zooms in on the input. 2 makes its features twice as big, 0.5 half as big. Slider from 0.05 to 8.
Offset XNumber0Moves the view across the input, in map widths. 0.5 puts its right edge in the middle.
Offset YNumber0Moves the view up the input, in map widths. 0.5 puts its top edge in the middle.
RotationNumber0Turns the input clockwise, in degrees. Slider from 0 to 360.

Outputs

OutputKind
OutMap, any width. The result this node produces.

Warp​

Domain-warp the field for organic distortion.

Inputs

InputKindDefaultNotes
InMapThe value this node works on.
MaskMap
AmountNumber0.05How far the warp pushes the map, in map widths. 0.05 moves points up to 5 percent of the map. Slider from 0 to 0.5.
Noise ScaleNumber600The size of the warp swirls, in meters. Only used when no Mask is wired in.
Seed OffsetWhole number0Change it to get a different random warp. Only used when no Mask is wired in.

Outputs

OutputKind
OutMap. The result this node produces.