Skip to content

The graph editor

Button What it does
Size (e.g. 1024 × 1024 · 16-bit) Resolution and precision every node of the graph is computed at. Both are import settings of the graph asset: changing them bakes the graph again; it does not save it. Square sizes from 128 to 8192, or 2:1 sizes up to 16384 × 8192. Large sizes use a lot of GPU memory (one texture per node output). See Graph settings for the precision.
Refresh Recomputes every node, reading render textures and texture assets again.
Minimize / Expand Hides the preview of every node, or shows them all again. See Keeping graphs tidy.
Stats Shows the GPU memory of the graph’s textures and the time to compute the whole graph. Turned on, every node’s thumbnail also shows its own compute time and memory (top left). A node’s time is that of its last computation, GPU included where the platform reports it.
Tidy Lays the graph out from its outputs, one band per map. Undo restores the previous layout.
Preview Opens the Preview window.
  • Every node shows a live thumbnail of its output. Nodes with several outputs have small tabs at the bottom of the thumbnail to pick which one is shown.
  • The eye button in a node’s title (shown when you hover the node) hides or shows its thumbnail, instantly. It is saved with the graph the next time you save it.
  • When a node’s result is a single value rather than a texture, its thumbnail shows the colour and the numbers instead.
  • Number fields have a small caption you can drag to change the value: Shift to go faster, Alt to go slower.
  • When the Preview window is in Texture mode, clicking a node shows it there. Double-clicking a thumbnail opens that node in the Preview window.

Every parameter of a node is also an input port: drive it from a graph parameter or from another value. Most generators have a Warp input: connect a texture to distort their coordinates.

Textures in a graph hold values as they are: a colour is stored as the sRGB numbers you pick, like a Color field, and the Material Output bakes colour maps as sRGB textures. Thumbnails and the Preview window show those values as they are, so 0.5 is mid grey and a colour looks as picked, in the graph and in the material.

Operations also work on plain values: a node fed only with constants computes a value, not a texture.

Open the Blackboard to add graph parameters: Float, Integer, Vector2, Vector3, Vector4, Color, Gradient or Texture. Drag a parameter onto the canvas and wire it into any matching input, so one value drives several nodes.

A Texture parameter brings an existing texture (or a Render Texture) into the graph.

  • Tidy (toolbar, or right-click the canvas › Tidy Graph) lays the graph out map by map: one horizontal band per input of the Material Output, in order, wires running left to right and no overlapping nodes. The Material Output stays in place and the graph grows to its left. It is a single undo step.
  • Minimize (toolbar, or right-click the canvas › Hide All Previews) hides the preview of every node; Expand shows them again. A node’s eye button (or right-click the node › Hide Preview) does it for one node. Tidy uses the size the nodes have, so Minimize then Tidy packs a large graph tightly. The Material Output keeps its panel.
  • Redirect nodes (Utility › Redirect, or right-click a wire › Insert Redirect) are small pass-through points to route wires around the graph. They cost nothing when the graph is computed.
  • Graph Toolkit’s placemats and portals work in Seamless graphs too.