Skip to main content

Terrain Graph Nodes

RustEdit Pro

Every node in the Terrain Graph's Add Node menu, by category. Click a node to see its inputs, outputs and settings. Nodes tells what each category is for.

Biome​

NodeWhat it does
Biome BaseFill the whole terrain with one biome.
Biome ClassifierHeat and moisture in, the five Rust biomes out.
Biome LayerPaint a biome through a mask.
Join BiomeBuild a biome field from one weight per biome.
Split BiomeBreak a biome field into one weight per biome.

Channels​

NodeWhat it does
Pack RGBACombine four masks into one RGBA wire.
Split RGBABreak an RGBA wire into four separate masks.

Combine​

NodeWhat it does
BlendMix two fields (add, multiply, max, overlay and more).
IfPick True or False for each pixel by comparing A with B or a threshold.
MixLerp between A and B by a mask or factor.

Erosion​

NodeWhat it does
ErosionRivers carve branching valleys and gullies, from broad valleys down to fine channels, and leave fans of sediment.
FlowWhere rain water collects and runs: a flow map and a river mask.
Fluvial ParticlesWater particle erosion: rain runs downhill, carving gullies and leaving sediment.
Hydraulic ErosionPipe-model water erosion (rivers, gullies).
SedimentLoose material slides down to its angle of repose and settles in hollows.
Thermal ErosionSlumps steep slopes toward a talus angle.
Wide FlowsParticle erosion over several levels: broad flows and valleys with finer channels inside.

Filters​

NodeWhat it does
AmplitudeMultiply the field by a gain value.
BlocksGives the terrain a square block profile: each block takes the height at its centre.
BulgeInflates or contracts the forms using the low, high and mean ground around them.
ClampLimit values to a range.
CliffsCuts steep ground into cliff steps with ledges.
ContrastBrightness and contrast around a pivot value.
CraggyCarves irregular broken rock into the surface.
Crater / Crater FieldScatters craters with raised rims over the terrain, or places a single crater.
CurveReshape values through a curve you draw.
DenoiseReduces small surface noise while keeping larger terrain forms.
Detail EqualizerTurns fine, small, medium and broad detail up or down on their own.
Directional WarpDisplaces the terrain along a direction, by the height of a guide.
FaultOffsets the ground across a wandering fault line, up or down and sideways.
FoldAdds periodic folds to the terrain.
Fractal TerracesTerraces at several scales: big steps with irregular shelves on their risers.
FractureCuts directional joints and cross joints into the terrain.
FunctionAbs, sine, cosine, smoothstep or inverse lerp on every pixel.
HexagonsGives the terrain a hexagonal column pattern: each column takes the height at its centre.
Inflate / DeflateExpands or contracts the terrain's features by a radius.
InvertFlip values (1 - v).
KuwaharaSmooths the terrain into calm patches while keeping ridges and edges.
LevelsSet the black and white points, bend the middle with gamma, and pick the output range.
MedianReplaces height outliers with the median of their neighbours, keeping edges.
NormalizeStretch values to fill 0..1.
OutcropsScatters rock outcrops into the terrain height, with weathering and rock layers.
Plateau / FlattenForms flat tops, flat floors or flat bands at a target height, everywhere or in a local area.
PockmarksScatters small round dips into the terrain.
Powerv -> pow(v, exponent).
QuantizeRound every pixel to a set number of levels.
RemapLinearly remap an input range to an output range.
Ridge Sharpen / RoundSharpens ridges into crests or rounds them off.
Rock BlocksBreaks the terrain into rock blocks with joints between them.
Rock ScatterScatters rock profiles on a hexagonal lattice, in layers of smaller rocks, or repeats a stamp.
Rock ShearShears rock structure along a direction into offset faces.
RuggedDisplaces the terrain along its slopes into rugged folds.
SandstoneCarves layered, weathered sandstone ledges into the slopes.
SharpenEmphasizes local height differences.
ShatterBreaks the terrain into tilted fragments with cracks between them.
Slope BlurSmooths the terrain along its slopes to create dragged slopes.
Slope WarpWarps the terrain sideways along its slopes.
SmoothBlur / soften the field.
Smooth RidgesLowers crests above their surroundings without raising valleys.
Soft ClipKeeps heights within a range, bending softly into the limits instead of cutting.
Spike RemovalDetects and suppresses isolated spikes and pits.
SqueezeCompresses terrain structure along a direction.
Stepped CliffsForms shelves of like height separated by steep cliffs.
StonesScatters stone shaped bumps over the terrain. They are part of the height map, so they have no overhangs.
StrataCuts the slopes into repeated rock layers, level or leaning.
SwirlRotates terrain features around a centre point.
TerraceStepped plateaus / strata.
Terrain ScatterRepeats a connected terrain stamp across the surface, sized and turned at random.
Terrain Stamp 2DPlaces a height image on the terrain, with an optional colour image and influence image.
TransformZoom / pan / rotate the field.
WarpDomain-warp the field for organic distortion.

Generators​

NodeWhat it does
Base NoiseA noise pattern laid onto the terrain: Cells, Classic, Anisotropic, Creased, Fractal Sum 1 to 4, FX, Gaussian, Plasma, White or Sediment Layers.
Cell NoiseA cell pattern laid onto the terrain: Cell Membrane, Cells 1, 2 or 4, Cracked Mud, Cracks, Crystal 1 or 2, Stone Joints or Voronoi Cells.
Cloudy NoiseA cloud-like noise laid onto the terrain: Clouds 1, 2 or 3, Clouds Billow, Clouds Soft, Fog Bank, Mist Layer, Smoke Wisps or Storm Swirl.
ConstantA flat field of one value.
Dirt NoiseA dirt and wear pattern laid onto the terrain: Ash Flakes, Chipping, Dirt 1 to 5, Dust Fine, Fingerprints, Grime Patch, Moisture, Pits / Dents, Rust Bloom, Sand Grain, Scuffs, Soot Smudge or Water Spots.
Fibers NoiseA fibre, weave or scratch pattern laid onto the terrain: Brushed Metal, Directional 1 to 4, Directional Scratches, Fabric Weave, Fur 1 to 3, Hairline Cracks, Messy Fibers 1 to 3, Scratches Directional, Scratches Fine, Short Scratches or Woven Fibers.
Grain NoiseA fine grain or spot pattern laid onto the terrain: BnW Spots 1 to 3, Dither Grain, Film Grain, Fine Pepper, Gaussian Spots 1 or 2, Salt & Pepper, Soft Static or Sparkle.
Linear GradientDirectional ramp from 0 to 1.
Liquids NoiseA liquid pattern laid onto the terrain: Caustics, Caustics Soft, Drips / Runs, Droplets, Flow Streaks, Fluid, Foam Bubbles, Liquid, Oil Sheen or Water Ripples.
NoiseFractal noise. Rust style: Perlin, Simplex, Ridged, Billow, Cellular, Sharp, Jordan or Ridge Warp; Simplex and the kinds built on it match Rust. Unity style: Unity Terrain Tools' noise with all its settings, the same as the terrain tools' Noise filter and Noise tool.
Organic NoiseAn organic pattern laid onto the terrain: Coral Growth, Crystal Facets, Leather Grain, Lichen Patch, Moss Mottle or Skin Pores.
PositionEach texel's place on the map, in metres or from -1 to 1, at Rust's pixel centres.
Radial GradientConcentric falloff from a centre point.
Terrain NoiseA terrain-like noise laid onto the terrain: Erosion Flow, Gravel Scatter, Mountain fBm or Sand Ripples.
Veins NoiseA vein pattern laid onto the terrain: Agate Bands, Contour Lines, Ink Diffusion, Marble Veins, Vein Network or Wood Grain.
VoronoiCellular / Worley noise.

Landforms​

NodeWhat it does
Alpine RangeSharp mountain ridges with winding valleys, peaks of different heights and passes between them.
ArchipelagoA field of rocky islands with a sea floor below sea level between them. Set how many, how big and how rough.
BadlandsIrregular hills with a branching network of valleys and gullies, and optional terraces.
BeachFlatten low land by the sea into a gently rising beach, and mask where it is.
CanyonCanyons with riverbeds, banks, rock terraces and uplands. It does not make water.
Canyon ValleyA flat-floored canyon valley along the landform's length, with adjustable walls and optional terraces.
CircleA round landform with a height profile and an optional opening. Unequal width and length make an ellipse.
ConeA cone with straight slopes from its tip to the footprint's edge. A good start for layered rock or erosion.
DonutA ring shaped landform with a hole, a height profile and an optional opening.
DunesA field of sand dunes with broad windward slopes and steep lee faces, with secondary dunes and ripples.
GorgeA long, narrow gorge along the landform's length. Channel Profile shapes its cross section.
HemisphereA round dome. Width and length set its footprint, Relief its height.
IslandAn island with an ocean floor below sea level, a beach, a forest band and mountains. The coast sits at sea level.
LedgeAdd a cliff step at a chosen height. An optional mask limits where it happens.
Mesas & ButtesFlat-topped plateaus with steep cliffs and isolated buttes, with optional terraces.
Mountain RangeA mountain range along its length, with side ridges and summits of different heights.
PolygonA regular polygon landform with a chosen number of sides and a height profile.
Rolling HillsSmooth, irregular rolling hills with smaller forms and surface detail.
StarA star shaped landform with a chosen number of points, notch depth and height profile.
VolcanoA volcanic cone with a crater at its summit, with masks of the crater floor, the rim and the flanks.

Masks​

NodeWhat it does
Break UpBreak a mask into natural patches with coarse and fine patterns. Never adds outside the mask.
CavityPicks out dips and bumps by comparing each point with its surroundings.
Clean MaskReduce speckles with a median, or smooth similar values while keeping boundaries.
DirectionHow directly each slope faces a light from a chosen direction.
Directional BlurSoften a mask along a direction to form streaks, one way or both ways.
DistanceHow far each point is from a mask, in metres, outside and inside it.
Downhill SpreadExtend a mask downhill while keeping its source, for debris below cliffs or snow tongues.
Drainage BasinsGroups the terrain by drainage outlet or closed sink, and selects whole catchments by area or index.
Grow / ShrinkWiden or narrow a mask by some metres, with a soft edge.
Height SelectMask a height band with soft edges.
Lake FillWater bodies: floods below a level, the basin round a seed, or fills hollows up to their spill point.
Landform ClassificationMasks peaks, ridges, shoulders, slopes, valleys or flats, from the relief against the neighbourhood and the slope.
Local HeightSelects terrain above or below its neighbourhood. Positive heights are above the local average.
Mask BordersSelect a rim inside, outside or around a mask's edge, or where it changes gradually.
Mask RegionsKeep the connected regions of a mask: all, the largest or one by index, filtered by area.
Mask TransportCarry a mask downhill along the terrain's drainage. The terrain height is not changed.
NormalWhich way the ground faces at each point, worked out the way Rust does it.
Rough EdgesMake a mask's edges irregular within Edge Width of a threshold, keeping values farther in and out.
Sea LevelLand, underwater and shoreline masks around sea level (world height 0).
SlopeSteepness of the terrain as a 0..1 field.
Slope CurvatureSelects changes in slope along a hillside, across it, or both, with separate hollow and ridge masks.
Slope SelectMask a slope band with soft edges.
Snow CoverSnow from temperature and sun, blown by the wind and slid off steep slopes.
Sun ExposureTerrain shadow combined with how the ground faces the sun, for one sun direction.
Sun Facing MaskSelects slopes facing the chosen sun direction.
Surface PatternA detailed material mask from ridges, hollows, slope, height, flow and irregular variation.
Terrain ChangesCompares two terrains in metres: where A is higher, lower, equal or different from B.
Terrain RoughnessSelects uneven ground and surface detail, to separate smooth terrain from rocky areas.
Terrain ShelterSelects ground enclosed by the surrounding terrain (occlusion).
Threshold / Range MaskSelect a range of mask values: above, below or between, with soft falloffs.
Wetness PotentialRelative wetness from the upslope area draining through each point and its slope (topographic wetness index).
Wind ShelterGround sheltered by terrain upwind, from the angle of the upwind horizon.

Output​

NodeWhat it does
Terrain OutputFinal terrain result (height, splat, biome, topology).

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. Needs RustEdit Pro.
TextureLoad an image; outputs all four channels as one RGBA wire, plus R, G, B, A and greyscale separately.

Splat​

NodeWhat it does
Join SplatBuild the 8 splat layers from two RGBA wires, or from one mask per layer.
Splat BaseFill the whole terrain with one splat layer.
Splat LayerPaint a splat layer through a mask.
Split SplatBreak the 8 splat layers into two RGBA wires.

Topology​

NodeWhat it does
Topology Flood FillFlag every cell reachable from a start point, the way Rust finds the mainland.
Topology LayerPaint one topology flag through a mask.
Topology MaskRead one topology flag back out as a mask.
Topology MergeCombine two topology stacks.
Topology SpreadSet a flag on cells near other flags, the way Rust spreads beachside, oceanside and forestside.

Utility​

NodeWhat it does
Field SwitchPass on one of two fields, chosen by a condition. Handy for trying two versions of a graph.
Graph SeedThe master seed for every random node in the graph. Change it for a new map.
ResampleMake a field the size of another map, reading it the way Rust does.
Seed RandomOne number from a seed's random chain. Chain Next Seed into the next one. Seed 0 uses the Graph Seed.
World SizeThe open map's width and terrain height, in metres.

Value​

NodeWhat it does
BoolA constant boolean, drivable and shareable.
Clamp ValueKeep a value between Min and Max.
CompareCompare two values: on or off.
FloatA constant float, drivable and shareable.
IntA constant integer, drivable and shareable.
LerpBlend between two values.
MathCombine two values (add, multiply, min, max and more).
RandomA random number between Min and Max that only changes when the seed does.
SwitchPass on one of two values, chosen by a condition.