Nodes
RustEdit ProThis 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
| Node | What it does |
|---|---|
| Biome Base | Fills the whole map with one biome. |
| Biome Classifier | Turns a heat map and a moisture map into the five Rust biomes. |
| Biome Layer | Paints a biome through a mask. |
| Join Biome | Builds a biome map from one weight for each biome. |
| Split Biome | Splits a biome map into one weight for each biome. |
Channels
| Node | What it does |
|---|---|
| Pack RGBA | Puts four masks on one RGBA wire. |
| Split RGBA | Splits an RGBA wire into four separate masks. |
Combine
| Node | What it does |
|---|---|
| Blend | Combines two maps: add, subtract, multiply, divide, min, max, average, difference, screen or overlay. |
| If | Picks True or False at each point by comparing A with B, or with a threshold. |
| Mix | Blends from A to B by a mask or by one factor. |
Custom
Your saved custom nodes, in their folders. See Custom Nodes.
Erosion
| Node | What it does |
|---|---|
| Erosion | Rivers 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. |
| Flow | Where rain water collects and runs: a flow map and a river mask. |
| Fluvial Particles | Water drops run down the terrain and cut sharp channels. Gives masks of erosion, deposits, flow and loose sediment. |
| Hydraulic Erosion | Water erosion that cuts rivers and gullies. Also gives masks of where ground was worn away and where it was laid down. |
| Sediment | Loose material slides down until it rests at its angle of repose, and piles up below slopes. |
| Thermal Erosion | Slumps 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 Flows | Broad water erosion run at several map sizes, from large valleys down to small gullies. Rain and erosion masks limit where it works. |
Filters
| Node | What it does |
|---|---|
| Amplitude | Multiplies the map by a value. |
| Blocks | Breaks the terrain into square blocks, each at the height of its center. |
| Bulge | Swells slopes into round shapes, or hollows them. |
| Clamp | Keeps values inside a range. |
| Cliffs | Cuts steep slopes into cliff steps with ledges. Gentle ground stays as it is. |
| Contrast | Changes brightness and contrast around a middle value. |
| Craggy | Adds broken rock detail. |
| Crater / Crater Field | Scatters craters with raised rims, or places one crater. |
| Curve | Reshapes values through a curve you draw. |
| Denoise | Removes small bumps and keeps the larger shapes. |
| Detail Equalizer | Turns up or down the fine, small, medium and large detail of the terrain, each on its own. |
| Directional Warp | Pushes the terrain in one direction. A Guide map sets how far each point moves. |
| Fault | Lifts the ground on one side of a line, as along a geological fault. |
| Fold | Bends the terrain in waves, like folded rock layers. |
| Fractal Terraces | Large terraces with smaller ones on their steps. |
| Fracture | Cuts joints and cracks into the rock in one direction. |
| Function | A 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). |
| Hexagons | Breaks the terrain into hexagonal columns. |
| Inflate / Deflate | Makes landforms wider, or narrower with a negative amount. |
| Invert | Flips values: 1 becomes 0 and 0 becomes 1. |
| Kuwahara | Smooths noise but keeps ridges and edges sharp. |
| Levels | Sets the black and white points, bends the middle with gamma, and picks the output range. |
| Median | Removes single spikes and pits, and keeps edges. |
| Normalize | Stretches values to fill 0 to 1. |
| Outcrops | Scatters rock outcrops with layers and weathering. |
| Plateau / Flatten | Cuts tops flat at a height, fills hollows up to it, or pulls a band of heights flat. |
| Pockmarks | Scatters small round dips. |
| Power | Raises every value to a power. |
| Quantize | Rounds every point to a set number of levels. |
| Remap | Maps one range of values onto another. |
| Ridge Sharpen / Round | Makes ridges sharper, or rounds them. |
| Rock Blocks | Breaks steep rock into flat-topped blocks. |
| Rock Scatter | Scatters rocks of one shape on a grid. The Stamp input gives your own rock shape. |
| Rock Shear | Shifts steep rock sideways in layers, for leaning faces. |
| Rugged | Makes the terrain rougher, most on steep ground. |
| Sandstone | Carves hard and soft rock bands into rounded steps. |
| Sharpen | Makes the small detail stronger. |
| Shatter | Breaks the terrain into tilted pieces with cracks between them. |
| Slope Blur | Smooths the terrain down its slopes, for a dragged look. |
| Slope Warp | Pushes the terrain down its slopes. |
| Smooth | Blurs the map. |
| Smooth Ridges | Lowers sharp crests and keeps valleys as they are. |
| Soft Clip | Keeps heights between two limits, with a soft bend at each limit. |
| Spike Removal | Removes points that stand far above or below all their neighbors. |
| Squeeze | Squeezes the terrain toward a line, or stretches it away. |
| Stepped Cliffs | Cuts steep slopes into ledges. |
| Stones | Scatters small stones. |
| Strata | Rock layers, level or tilted, cut into ledges on steep slopes. |
| Swirl | Twists the terrain around a center point. |
| Terrace | Makes stepped plateaus. |
| Terrain Scatter | Repeats a terrain shape that you wire into Stamp across the map. |
| Terrain Stamp 2D | Places a height image on the terrain, at a position, size and angle you choose. |
| Transform | Zooms, moves or turns the map. |
| Warp | Pushes 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
| Node | What it does |
|---|---|
| Base Noise | Classic terrain noises: cells, subdivision, streaks, creases, fractal sums, Gaussian, plasma, white noise and sediment layers. |
| Cell Noise | Cell patterns: membranes, domes, cracked mud, cracks, crystals, stone joints and Voronoi cells. |
| Cloudy Noise | Soft cloud patterns: billows, wisps, fog banks and stretched clouds. |
| Constant | A flat map of one value. |
| Dirt Noise | Small surface marks: pebbles, chips, pits, splats, smudges and stains. |
| Fibers Noise | Line patterns: fibres, hair, scratches, cracks and woven cloth. |
| Grain Noise | Fine grain: film grain, specks, static and small bumps. |
| Linear Gradient | A ramp from 0 to 1 in one direction. |
| Liquids Noise | Liquid patterns: drips, droplets, foam, caustics and flowing fluid. |
| Noise | Fractal 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 Noise | Living patterns: coral, crystal facets, lichen, moss and similar growth. |
| Position | Each point's place on the map, in meters or from -1 to 1. |
| Radial Gradient | Falls off in rings from a center point. |
| Terrain Noise | Noises made for terrain: mountain fractal noise, erosion channels, gravel and sand ripples. |
| Veins Noise | Vein patterns: ink spread, marble veins, wood grain and vein networks. |
| Voronoi | Cell 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
| Node | What it does |
|---|---|
| Alpine Range | Sharp mountain ridges with winding valleys, side gullies and passes. |
| Archipelago | A field of islands with ragged coasts and small rock islets. |
| Badlands | Tablelands cut by a network of steep, flat-floored ravines and gullies, with optional terraces. |
| Beach | Flattens low land by the sea into a gently rising beach, and gives a mask of where the beach is. |
| Canyon | A canyon with a riverbed, banks, rock layers, side canyons and uplands. |
| Canyon Valley | A flat-floored valley with steep walls, terraces and side canyons. |
| Circle | A round landform, with an optional opening. Unequal width and length make an ellipse. |
| Cone | A cone. |
| Donut | A ring with a hole in the middle. |
| Dunes | Sand dunes with steep slip faces: ridges, crescent dunes, long ridges along the wind or a mix, with ripples. |
| Gorge | A narrow channel with steep walls, rock ledges and side canyons. |
| Hemisphere | A round dome. |
| Island | An island with bays and headlands, small rock islets, a shallow shelf and mountains. Its coast is at sea level. |
| Ledge | Adds a cliff step at a height you choose. An optional mask limits where. |
| Mesas & Buttes | Flat-topped plateaus with steep cliffs over sloping aprons, and single rock towers. |
| Mountain Range | A mountain mass with sharp crests, peaks and spurs facing every way. |
| Polygon | A landform with 3 to 32 straight sides. |
| Rolling Hills | Soft, rounded hills with gentle valleys. |
| Star | A star-shaped landform. |
| Volcano | A 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
| Node | What it does |
|---|---|
| Break Up | Breaks a mask into natural patches. |
| Cavity | Picks out dips and bumps by comparing each point with the ground around it. |
| Clean Mask | Removes specks from a mask, or smooths it and keeps its edges. |
| Direction | How directly each slope faces a light from a direction you choose. |
| Directional Blur | Smears a mask in one direction, for streaks. |
| Distance | How far each point is from a mask, in meters, outside and inside it. |
| Downhill Spread | Spreads a mask downhill, for example gravel below cliffs. |
| Drainage Basins | Splits the map into the areas that drain to the same outlet. |
| Grow / Shrink | Widens or narrows a mask by some meters, with a soft edge. |
| Height Select | A mask of a band of heights, with soft edges. |
| Lake Fill | Fills hollows with water up to the point where they would spill over. Gives the water, its depth and its surface. |
| Landform Classification | Sorts the ground into peaks, ridges, shoulders, slopes, valleys and flats. |
| Local Height | How high each point is compared with the ground around it. |
| Mask Borders | The inner or outer edge of a mask, for shore bands and transitions. |
| Mask Regions | Finds the separate areas of a mask. Keeps all of them, the largest, or the ones in a size range. |
| Mask Transport | Carries a mask downhill along the paths water would take. |
| Normal | Which way the ground faces at each point, worked out the way Rust does it. |
| Rough Edges | Makes the edges of a mask ragged. |
| Sea Level | Land, underwater and shore masks around sea level (world height 0). |
| Slope | How steep the ground is, from 0 to 1. |
| Slope Curvature | Where slopes bend: hollows and ridges, along or across the slope. |
| Slope Select | A mask of a band of slopes, with soft edges. |
| Snow Cover | Where snow lies, from height, sun, wind and slope. It does not change the terrain. |
| Sun Exposure | How much sun each point gets, with the shadows of the terrain. |
| Sun Facing Mask | How directly each slope faces the sun, without shadows. |
| Surface Pattern | A mix of ridges, hollows, slope, height, water flow and noise, for natural splat patterns. |
| Terrain Changes | Compares two terrains: where ground was raised and where it was lowered. |
| Terrain Roughness | Where the ground is rough and where it is smooth. |
| Terrain Shelter | Where the ground is closed in by the terrain around it. |
| Threshold / Range Mask | A mask of the values above, below or between limits, with soft edges. |
| Wetness Potential | Where the ground is likely to be damp, from the water that drains there and the slope. |
| Wind Shelter | Where the ground is sheltered from the wind by the terrain, and where it is exposed. |
Output
| Node | What it does |
|---|---|
| Terrain Output | The graph's result: height, splat, biome and topology. See Apply and Preview. |
Source
| Node | What it does |
|---|---|
| Current Map | The open map's height, splat, biome and topology, to build on. |
| Spline Mask | The open map's splines as a mask, and their height. Filters pick roads, rivers, rails and other spline types. |
| Texture | Loads 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
| Node | What it does |
|---|---|
| Join Splat | Builds the 8 splat layers from two RGBA wires, or from one mask per layer. |
| Splat Base | Fills the whole map with one ground texture. |
| Splat Layer | Paints a ground texture through a mask. |
| Split Splat | Splits the 8 splat layers into two RGBA wires. |
Topology
| Node | What it does |
|---|---|
| Topology Flood Fill | Sets a flag on every point that can be reached from a start point, the way Rust finds the mainland. |
| Topology Layer | Paints one topology flag through a mask. With no mask wired in, it paints the whole map. |
| Topology Mask | Reads one topology flag back out as a mask. |
| Topology Merge | Combines two topology maps. |
| Topology Spread | Sets a flag on points near other flags, the way Rust spreads Beachside, Oceanside and Forestside. |
Utility
| Node | What it does |
|---|---|
| Field Switch | Passes on one of two maps, chosen by a switch. Handy for trying two versions of a graph. |
| Graph Seed | The seed for every random node in the graph, custom nodes included. Change it for a new map. |
| Resample | Makes a map the size of another map, reading it the way Rust does. |
| Seed Random | One number from a seed's chain of random numbers. Wire its Next Seed into the next one. Seed 0 uses the Graph Seed. |
| World Size | The 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.
| Node | What it does |
|---|---|
| Bool | An on or off value that you can wire into several nodes. |
| Clamp Value | Keeps a number between Min and Max. |
| Compare | Compares two numbers. Gives on or off. |
| Float | A decimal number that you can wire into several nodes. |
| Int | A whole number that you can wire into several nodes. |
| Lerp | Blends between two numbers. |
| Math | Combines two numbers: add, subtract, multiply, divide, min, max, power or average. It also does abs, sin and cos on one number. |
| Random | A random number between Min and Max. It changes only when the seed changes. |
| Switch | Passes 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.