Skip to main content

Nodes

RustEdit Pro

This page lists every node in the Add Node menu, in the menu's categories. Right-click the empty canvas and pick Add Node to add one. See Graph Editor for how to wire them.

Most nodes work on maps: a height map, a mask, the splat layers and so on. Each layer of a map is a channel: a height map has one, the splat map has 8. A mask is a one-channel map where 1 means "here" and 0 means "not here", with soft values in between. The nodes under Value work on single numbers instead.

The filter nodes work on maps with any number of channels. A filter on the 8 splat layers changes all 8, one at a time.

The node reference lists every input, output and setting of each node, with its default value.

Biome​

NodeWhat it does
Biome BaseFills the whole map with one biome.
Biome ClassifierTurns a heat map and a moisture map into the five Rust biomes.
Biome LayerPaints a biome through a mask.
Join BiomeBuilds a biome map from one weight for each biome.
Split BiomeSplits a biome map into one weight for each biome.

Channels​

NodeWhat it does
Pack RGBAPuts four masks on one RGBA wire.
Split RGBASplits an RGBA wire into four separate masks.

Combine​

NodeWhat it does
BlendCombines two maps: add, subtract, multiply, divide, min, max, average, difference, screen or overlay.
IfPicks True or False at each point by comparing A with B, or with a threshold.
MixBlends from A to B by a mask or by one factor.

Custom​

Your saved custom nodes, in their folders. See Custom Nodes.

Erosion​

NodeWhat it does
ErosionRivers cut branching valleys, from broad valleys down to fine gullies, and leave fans of sediment at the foot of the slopes. The main erosion node for natural mountains.
FlowWhere rain water collects and runs: a flow map and a river mask.
Fluvial ParticlesWater drops run down the terrain and cut sharp channels. Gives masks of erosion, deposits, flow and loose sediment.
Hydraulic ErosionWater erosion that cuts rivers and gullies. Also gives masks of where ground was worn away and where it was laid down.
SedimentLoose material slides down until it rests at its angle of repose, and piles up below slopes.
Thermal ErosionSlumps steep slopes until they settle at a set angle. Also gives masks of where ground was worn away and where it was laid down.
Wide FlowsBroad water erosion run at several map sizes, from large valleys down to small gullies. Rain and erosion masks limit where it works.

Filters​

NodeWhat it does
AmplitudeMultiplies the map by a value.
BlocksBreaks the terrain into square blocks, each at the height of its center.
BulgeSwells slopes into round shapes, or hollows them.
ClampKeeps values inside a range.
CliffsCuts steep slopes into cliff steps with ledges. Gentle ground stays as it is.
ContrastChanges brightness and contrast around a middle value.
CraggyAdds broken rock detail.
Crater / Crater FieldScatters craters with raised rims, or places one crater.
CurveReshapes values through a curve you draw.
DenoiseRemoves small bumps and keeps the larger shapes.
Detail EqualizerTurns up or down the fine, small, medium and large detail of the terrain, each on its own.
Directional WarpPushes the terrain in one direction. A Guide map sets how far each point moves.
FaultLifts the ground on one side of a line, as along a geological fault.
FoldBends the terrain in waves, like folded rock layers.
Fractal TerracesLarge terraces with smaller ones on their steps.
FractureCuts joints and cracks into the rock in one direction.
FunctionA math function at every point: abs (makes values positive), sine, cosine, smoothstep (a soft S-curve) or inverse lerp (turns a range of values into 0 to 1).
HexagonsBreaks the terrain into hexagonal columns.
Inflate / DeflateMakes landforms wider, or narrower with a negative amount.
InvertFlips values: 1 becomes 0 and 0 becomes 1.
KuwaharaSmooths noise but keeps ridges and edges sharp.
LevelsSets the black and white points, bends the middle with gamma, and picks the output range.
MedianRemoves single spikes and pits, and keeps edges.
NormalizeStretches values to fill 0 to 1.
OutcropsScatters rock outcrops with layers and weathering.
Plateau / FlattenCuts tops flat at a height, fills hollows up to it, or pulls a band of heights flat.
PockmarksScatters small round dips.
PowerRaises every value to a power.
QuantizeRounds every point to a set number of levels.
RemapMaps one range of values onto another.
Ridge Sharpen / RoundMakes ridges sharper, or rounds them.
Rock BlocksBreaks steep rock into flat-topped blocks.
Rock ScatterScatters rocks of one shape on a grid. The Stamp input gives your own rock shape.
Rock ShearShifts steep rock sideways in layers, for leaning faces.
RuggedMakes the terrain rougher, most on steep ground.
SandstoneCarves hard and soft rock bands into rounded steps.
SharpenMakes the small detail stronger.
ShatterBreaks the terrain into tilted pieces with cracks between them.
Slope BlurSmooths the terrain down its slopes, for a dragged look.
Slope WarpPushes the terrain down its slopes.
SmoothBlurs the map.
Smooth RidgesLowers sharp crests and keeps valleys as they are.
Soft ClipKeeps heights between two limits, with a soft bend at each limit.
Spike RemovalRemoves points that stand far above or below all their neighbors.
SqueezeSqueezes the terrain toward a line, or stretches it away.
Stepped CliffsCuts steep slopes into ledges.
StonesScatters small stones.
StrataRock layers, level or tilted, cut into ledges on steep slopes.
SwirlTwists the terrain around a center point.
TerraceMakes stepped plateaus.
Terrain ScatterRepeats a terrain shape that you wire into Stamp across the map.
Terrain Stamp 2DPlaces a height image on the terrain, at a position, size and angle you choose.
TransformZooms, moves or turns the map.
WarpPushes the map around itself for a twisted, natural look.

Most filters have a Mask input and a Strength setting. The filter changes the map only where the mask is white, and Strength sets how much of the change is kept. With no mask, the filter works everywhere.

Generators​

NodeWhat it does
Base NoiseClassic terrain noises: cells, subdivision, streaks, creases, fractal sums, Gaussian, plasma, white noise and sediment layers.
Cell NoiseCell patterns: membranes, domes, cracked mud, cracks, crystals, stone joints and Voronoi cells.
Cloudy NoiseSoft cloud patterns: billows, wisps, fog banks and stretched clouds.
ConstantA flat map of one value.
Dirt NoiseSmall surface marks: pebbles, chips, pits, splats, smudges and stains.
Fibers NoiseLine patterns: fibres, hair, scratches, cracks and woven cloth.
Grain NoiseFine grain: film grain, specks, static and small bumps.
Linear GradientA ramp from 0 to 1 in one direction.
Liquids NoiseLiquid patterns: drips, droplets, foam, caustics and flowing fluid.
NoiseFractal noise. Rust style: Perlin, Simplex, Ridged, Billow, Cellular, Sharp, Jordan or Ridge Warp, where Simplex and the kinds built on it match Rust's noise. Unity style: the same noise as the terrain tools' Noise filter and Noise tool. See Noise Settings.
Organic NoiseLiving patterns: coral, crystal facets, lichen, moss and similar growth.
PositionEach point's place on the map, in meters or from -1 to 1.
Radial GradientFalls off in rings from a center point.
Terrain NoiseNoises made for terrain: mountain fractal noise, erosion channels, gravel and sand ripples.
Veins NoiseVein patterns: ink spread, marble veins, wood grain and vein networks.
VoronoiCell noise.

Base Noise, Terrain Noise, Cell Noise and the pattern noises (Cloudy, Dirt, Fibers, Grain, Liquids, Organic and Veins) lay their pattern onto the terrain wired into them, the same way the landforms do (see below). Their Pattern output gives the pattern from 0 to 1, to use as a mask.

Landforms​

NodeWhat it does
Alpine RangeSharp mountain ridges with winding valleys, side gullies and passes.
ArchipelagoA field of islands with ragged coasts and small rock islets.
BadlandsTablelands cut by a network of steep, flat-floored ravines and gullies, with optional terraces.
BeachFlattens low land by the sea into a gently rising beach, and gives a mask of where the beach is.
CanyonA canyon with a riverbed, banks, rock layers, side canyons and uplands.
Canyon ValleyA flat-floored valley with steep walls, terraces and side canyons.
CircleA round landform, with an optional opening. Unequal width and length make an ellipse.
ConeA cone.
DonutA ring with a hole in the middle.
DunesSand dunes with steep slip faces: ridges, crescent dunes, long ridges along the wind or a mix, with ripples.
GorgeA narrow channel with steep walls, rock ledges and side canyons.
HemisphereA round dome.
IslandAn island with bays and headlands, small rock islets, a shallow shelf and mountains. Its coast is at sea level.
LedgeAdds a cliff step at a height you choose. An optional mask limits where.
Mesas & ButtesFlat-topped plateaus with steep cliffs over sloping aprons, and single rock towers.
Mountain RangeA mountain mass with sharp crests, peaks and spurs facing every way.
PolygonA landform with 3 to 32 straight sides.
Rolling HillsSoft, rounded hills with gentle valleys.
StarA star-shaped landform.
VolcanoA volcanic cone with a crater.

All landforms except Beach and Ledge work the same way:

  • They lay their shape onto the terrain wired into Terrain. With nothing wired in, they start from sea level.
  • Blend Mode sets how: Mix moves the terrain to the shape, Add raises it, Subtract lowers it, and Maximum or Minimum keeps the higher or lower ground.
  • Fit to Terrain Area covers the whole map. Turn it off to place the shape with Center X, Center Z, Width, Length and Rotation.
  • Strength and the Mask input limit how much of the shape is laid on, and where.
  • Extra outputs give masks of the shape's parts, such as Ridges or Crater Rim, for splat and topology.
  • Landforms are shapes. For rivers, valleys and gullies, wire the landform into the Erosion node.
  • To keep a Canyon's flat plateau when you erode it, wire the Canyon's Walls output into the Erosion node's Rainfall Mask. Rain then falls only on the canyon walls, so only the walls get gullies.

Masks​

NodeWhat it does
Break UpBreaks a mask into natural patches.
CavityPicks out dips and bumps by comparing each point with the ground around it.
Clean MaskRemoves specks from a mask, or smooths it and keeps its edges.
DirectionHow directly each slope faces a light from a direction you choose.
Directional BlurSmears a mask in one direction, for streaks.
DistanceHow far each point is from a mask, in meters, outside and inside it.
Downhill SpreadSpreads a mask downhill, for example gravel below cliffs.
Drainage BasinsSplits the map into the areas that drain to the same outlet.
Grow / ShrinkWidens or narrows a mask by some meters, with a soft edge.
Height SelectA mask of a band of heights, with soft edges.
Lake FillFills hollows with water up to the point where they would spill over. Gives the water, its depth and its surface.
Landform ClassificationSorts the ground into peaks, ridges, shoulders, slopes, valleys and flats.
Local HeightHow high each point is compared with the ground around it.
Mask BordersThe inner or outer edge of a mask, for shore bands and transitions.
Mask RegionsFinds the separate areas of a mask. Keeps all of them, the largest, or the ones in a size range.
Mask TransportCarries a mask downhill along the paths water would take.
NormalWhich way the ground faces at each point, worked out the way Rust does it.
Rough EdgesMakes the edges of a mask ragged.
Sea LevelLand, underwater and shore masks around sea level (world height 0).
SlopeHow steep the ground is, from 0 to 1.
Slope CurvatureWhere slopes bend: hollows and ridges, along or across the slope.
Slope SelectA mask of a band of slopes, with soft edges.
Snow CoverWhere snow lies, from height, sun, wind and slope. It does not change the terrain.
Sun ExposureHow much sun each point gets, with the shadows of the terrain.
Sun Facing MaskHow directly each slope faces the sun, without shadows.
Surface PatternA mix of ridges, hollows, slope, height, water flow and noise, for natural splat patterns.
Terrain ChangesCompares two terrains: where ground was raised and where it was lowered.
Terrain RoughnessWhere the ground is rough and where it is smooth.
Terrain ShelterWhere the ground is closed in by the terrain around it.
Threshold / Range MaskA mask of the values above, below or between limits, with soft edges.
Wetness PotentialWhere the ground is likely to be damp, from the water that drains there and the slope.
Wind ShelterWhere the ground is sheltered from the wind by the terrain, and where it is exposed.

Output​

NodeWhat it does
Terrain OutputThe graph's result: height, splat, biome and topology. See Apply and Preview.

Source​

NodeWhat it does
Current MapThe open map's height, splat, biome and topology, to build on.
Spline MaskThe open map's splines as a mask, and their height. Filters pick roads, rivers, rails and other spline types.
TextureLoads a PNG or JPG image. Gives all four channels on one RGBA wire, and R, G, B, A and Greyscale on their own wires.

Splat​

NodeWhat it does
Join SplatBuilds the 8 splat layers from two RGBA wires, or from one mask per layer.
Splat BaseFills the whole map with one ground texture.
Splat LayerPaints a ground texture through a mask.
Split SplatSplits the 8 splat layers into two RGBA wires.

Topology​

NodeWhat it does
Topology Flood FillSets a flag on every point that can be reached from a start point, the way Rust finds the mainland.
Topology LayerPaints one topology flag through a mask. With no mask wired in, it paints the whole map.
Topology MaskReads one topology flag back out as a mask.
Topology MergeCombines two topology maps.
Topology SpreadSets a flag on points near other flags, the way Rust spreads Beachside, Oceanside and Forestside.

Utility​

NodeWhat it does
Field SwitchPasses on one of two maps, chosen by a switch. Handy for trying two versions of a graph.
Graph SeedThe seed for every random node in the graph, custom nodes included. Change it for a new map.
ResampleMakes a map the size of another map, reading it the way Rust does.
Seed RandomOne number from a seed's chain of random numbers. Wire its Next Seed into the next one. Seed 0 uses the Graph Seed.
World SizeThe open map's width and terrain height, in meters.

Portal In and Portal Out are not in the Add Node menu. You make them from a port's right-click menu with Send to Portal and Receive from Portal. See Portals.

Value​

These nodes work on single numbers, not maps. Use them to share one number between several nodes, or to work out a value.

NodeWhat it does
BoolAn on or off value that you can wire into several nodes.
Clamp ValueKeeps a number between Min and Max.
CompareCompares two numbers. Gives on or off.
FloatA decimal number that you can wire into several nodes.
IntA whole number that you can wire into several nodes.
LerpBlends between two numbers.
MathCombines two numbers: add, subtract, multiply, divide, min, max, power or average. It also does abs, sin and cos on one number.
RandomA random number between Min and Max. It changes only when the seed changes.
SwitchPasses on one of two numbers, chosen by a switch.

Inside a custom node​

Each custom node has one Inputs node and one Outputs node. They are not in the Add Node menu, and you cannot copy or delete them. You set their ports in the sidebar. See Custom Nodes.