Flying Donkey Surface Studio
Make textures from node graphs and paint them onto your meshes, inside Unreal: a library of nodes that run on the graphics card, smart materials and masks that fit any mesh, layers and brushes, and textures and materials made for you.
Flying Donkey Surface Studio makes textures inside Unreal. Build a texture from nodes (noise, patterns, shapes, blurs, blends) wired into a graph, and watch it update while you drag a value. Bake a mesh's own maps (its edges, its hollows, its thickness) so smart materials and smart masks fit that mesh: paint worn off the edges, dirt in the creases, moss on top. Stack layers of materials and masks on a mesh, paint on it with brushes, stencils and pens, and export textures and a material instance assigned to the mesh, in one step. This guide installs the plugin, explains the ideas behind texturing from the start, textures a first mesh in ten minutes, and then explains every window, every node and every setting.
About Surface Studio · Surface Studio on Fab · Download the guide as a PDF
Install and set up
Flying Donkey Surface Studio is one plugin: the node graph and its library of nodes, the baker that reads a mesh's shape, the Paint Editor, the starter library, and what makes textures and materials from your work. It needs no other product. This chapter installs it, says what your project needs, and shows what comes with it.
Requirements
| Engine | Unreal Engine 5.8. |
| Platform | The Windows editor (Win64), DirectX 12. |
| Graphics card | Required. Every node runs on the graphics card; there is no slower fallback on the processor. Built and measured on an RTX 4090; a card with 8 GB of video memory works, with the cache made smaller for 4K textures (Project settings, below). |
| Engine plugins | Two of Unreal's own plugins switch on with Surface Studio: Geometry Processing (reading meshes for baking and painting) and Stylus Input (pen pressure). Nothing to do. |
| Other products | None. Everything in this guide is part of Flying Donkey Surface Studio. |
| Project type | Blueprint or C++. Installed from Fab, the plugin comes built and works in a Blueprint project's editor. Packaging a game that renders graphs at runtime needs Visual Studio 2022 with its C++ tools, as any code plugin does. |
Names in the code
The plugin's folder, its .uplugin file and its content root are FlyingDonkeySurfaceStudio. Its modules are FDSurfaceShaders, FDSurfaceCore and FDSurfaceNodes (they ship in a game: graphs can be rendered at runtime), and FDSurfaceGraphEditor and FDSurfaceBake (the editor's windows and the baker). Its C++ classes start with FDSurface.
Install and enable
- Install Flying Donkey Surface Studio from Fab (the Epic Games Launcher › Fab Library › Flying Donkey Surface Studio › Install to Engine). Or copy the plugin's FlyingDonkeySurfaceStudio folder into your project's Plugins folder; it is then built from its source with your project, which must be a C++ project.
- Open your project. In , search for Surface Studio and tick Enabled.
- Restart the editor when it asks. The first start compiles Surface Studio's shaders, which takes a few minutes once.
- In the Content Browser, Add now has a Flying Donkey section, and a mesh's right-click menu has Texture This Mesh. The Tools menu has Surface Studio under Flying Donkey.
The Surface Studio window
opens the plugin's start page. Nothing in Surface Studio needs it: every asset opens from the Content Browser, and Texture This Mesh sits on a mesh's right-click menu. It is there so that the first time, and every time you forget where something starts, one window shows the ways in.
- Texture a Mesh. Pick a static or skeletal mesh and press Texture This Mesh: the same dialog as the right-click, the maps baked, a starter laid on, the Paint Editor open (the chapter Texture This Mesh).
- New Surface Graph. Names and places a Surface Graph, then opens the Graph Editor on it (the chapter Surface Graphs).
- New Paint Project. Names and places a Paint Project; its own dialog takes a mesh, or makes an empty project (the chapter The Paint Editor).
- New Bake Set. Names and places a Bake Set, the mesh maps a Smart Material reads (the chapter Mesh maps and Bake Sets).
- Import a .sbs. Picks an .sbs graph file and a folder, makes its Surface Graphs there and opens the first (the chapter Importing .sbs files).
- The Starter Library. Shows the plugin's Smart Materials, Smart Masks and Patterns folders in the Content Browser, switching Show Plugin Content on if it is off.
- The Sample. Opens the sample level (the chapter The sample), after the editor's usual prompt to save the level you have open.
The top bar has the plugin's version, Settings (the project settings page, Project settings below) and User Guide, which opens this guide from the plugin's Docs folder.
is where the Flying Donkey plugins put their entries. A project can move the whole section to another menu with a line in its Config/DefaultEditor.ini: under [FlyingDonkey], Menu= followed by the menu's name (the Tools menu is LevelEditor.MainMenu.Tools).
Your own C++: the Build.cs modules
Blueprints need none of this. When C++ of your own renders graphs or reads their parameters, list the modules in your module's Build.cs file:
PublicDependencyModuleNames.AddRange(new string[]
{
"Core", "CoreUObject", "Engine",
"FDSurfaceCore", "FDSurfaceNodes"
});
| Module | Add it when your code uses |
|---|---|
| FDSurfaceCore | Graphs, rendering a graph to a render target, graph instances and their parameters (chapter 14). |
| FDSurfaceNodes | The node classes, Bake Sets, Paint Projects and Smart Materials by type. |
| FDSurfaceGraphEditor | Editor scripts only: exporting, Texture This Mesh. |
What comes with it
In the Content Browser, open and tick Show Plugin Content. The plugin's content is under Plugins › Flying Donkey Surface Studio (the path is /FlyingDonkeySurfaceStudio).
| Where | What it is |
|---|---|
| SmartMaterials | 32 starter Smart Materials: metals, plastics and rubber, wood, stone, leather, canvas, ceramic, and five that lie over what is below (mud, moss, dust, soot, grime). Chapter 12. |
| SmartMasks | 46 starter Smart Masks: edge wear, dirt in the hollows, dust from above, drips, rust, scratches, grunge and more. Chapter 12. |
| Patterns | 20 starter pattern graphs that tile: bricks, tiles, planks, cobbles, a stone wall, fabric, scales, tread plate and more. Chapter 12. |
| SmartMaterials › Preview | The preview mesh the starters show on (a rounded box with a groove round its middle) and its baked maps. |
| Templates | The Output Templates (UE Standard, UE Standard + Height, Separate) and their master materials. Chapter 13. |
| Examples | The sample: a level, L_SurfaceStudioSample, with three textured props and their Paint Projects, two tiling materials made from starter patterns on the floor and a wall, and a plane whose material is rendered from a graph when play begins. Open any of its assets to see finished work (below). |
Beside the content, the plugin's Examples folder holds every starter again as text (JSON), and three example graphs (Bricks, Rusted Metal, Wood) to open and take apart (chapter 5). Everything in the starter library is made from nodes: there are no photographs or scanned textures in it, so nothing in it needs a licence of its own.
Project settings
holds what is the project's rather than one graph's: how much video memory the plugin keeps for results, how small the preview gets while you drag, whether the baker's rays run on the graphics card, how much memory painting's undo may use, and whether textures made from graphs are made again when the game cooks. Chapter 21 lists every one with its default. They are saved to the project's Config folder and apply to everyone on the project.
On a card with 8 GB of video memory
Lower Cache Budget (MB) (1536 by default) to about 768 when working at 4096. The cache only keeps results so a change recomputes less; a smaller one recomputes a little more and never changes what you see.
The ideas behind it
This chapter is for anyone new to texturing. It explains what a material is made of, how a texture finds its place on a mesh, and the ideas Surface Studio is built on: graphs of nodes, baking, layers and masks, smart materials and smart masks. Every later chapter uses these words. If you have textured models before, skim the headings and move on.
A material and its channels
A mesh in Unreal looks the way its material says. Surface Studio makes materials of the kind Unreal and most games use, called physically based: instead of painting light and shadow into a picture, a material describes what the surface is made of, and the engine lights it from there. It does that with a few separate images, one per property, called channels:
| Channel | What it says | How it looks as an image |
|---|---|---|
| Base Color | The surface's own colour, with no light or shadow in it: red paint, grey steel, brown wood. | A flat, evenly lit colour picture. |
| Normal | Which way the surface faces at each point, so small bumps, scratches and grooves catch the light without any extra geometry. | Mostly light blue-purple; bumps show as reds and greens. |
| Roughness | How rough or smooth the surface is: smooth (black) gives sharp, mirror-like reflections; rough (white) spreads them into a dull sheen. | Gray: dark where glossy, light where matte. |
| Metallic | Whether the surface is metal (white) or not (black). Metals reflect in their own colour; everything else reflects white light. Almost always pure black or pure white. | Black and white. |
| Height | How high each point stands. Used to make Normal from, to blend materials by which stands higher, and for parallax. | Gray: white high, black low. |
| Ambient Occlusion | How hidden each point is from light coming from all around: dark in deep creases and corners. | Mostly white, darker in the hollows. |
| Emissive | Light the surface gives off itself (screens, lava, lamps). | Black except where it glows. |
| Opacity | Where the surface is there (white) or cut away (black): leaves, lace, rust holes. | Black and white. |
A Surface Studio material is these channels together. Graphs make them, layers carry them, and export writes them out as textures that a material in Unreal reads.
Textures, UVs and texture sets
A texture is an image the graphics card reads. A 2048 texture is 2048 by 2048 small squares, each called a texel (a pixel of a texture). Sizes are powers of two: 512, 1024, 2048, 4096. Twice the size holds four times the texels and takes four times the memory.
To put a flat image on a 3D mesh, the mesh carries UVs: for every point of its surface, a place on the image (U across, V down, each 0 to 1). Picture the mesh's surface cut along some edges and laid flat on the image, like a sewing pattern. Each flat piece is a UV island, and the cuts between islands are UV seams. Surface Studio paints and bakes in this flat layout, and takes care that seams don't show (chapter 10).
A mesh can use several materials, one per material slot (a character's skin, clothes and hair, say). Each slot gets its own set of textures, called a texture set. Surface Studio keeps one texture set per slot, each with its own layers.
Tiling
A tiling texture repeats without a visible join: its right edge continues its left, and its bottom its top. Brick walls, floors, fabric and terrain use tiling textures many times across a large surface. Every graph in Surface Studio tiles on its own: noise, patterns, blurs and warps all wrap around the edges. The 2 x 2 view of the preview shows four copies side by side, so you can check for yourself.
A texture made for one mesh, laid out by its UVs, does not tile and doesn't need to. Smart masks, which follow a mesh's shape, are this kind.
Procedural textures and node graphs
A procedural texture is made by steps rather than painted or photographed. Surface Studio's steps are nodes. A node takes images in, does one thing to them, and gives an image out: make noise, blur, raise the contrast, blend two images by a mask. Wire nodes together and you have a graph: an output on the left feeds an input on the right, and the image flows along the wires.
| Word | Meaning |
|---|---|
| Node | One step. Its settings are in the details panel when it is selected. |
| Pin | A node's input (left) or output (right). Gray pins carry gray images, gold pins colour images, white pins either. |
| Wire | A link from an output pin to an input pin. |
| Output node | Marks one of the graph's results: the Base Color texture, the Normal texture, and so on. |
| Seed | The number random nodes start from. Change it and the noise changes, but keeps its character. |
Why build textures this way: a graph never loses quality, since it can be made again at any size, and every step stays editable. Change the brick count at the start and the mortar, wear and colour all follow. One graph also makes endless variations from its seed.
Mesh maps and baking
Many effects depend on a mesh's shape: paint wears off the sharp edges, dirt gathers in the creases, dust settles on top. A graph can't know a mesh's shape by itself, so first the mesh is baked: its shape is measured once, texel by texel, into images called mesh maps.
| Mesh map | What it records |
|---|---|
| Curvature | Where the surface bends outward (edges, ridges: bright) or inward (creases: dark). Edge wear reads it. |
| Ambient Occlusion | How hidden each texel is: dark in the hollows. Dirt reads it. |
| Position | Where each texel is on the mesh, from bottom to top, left to right, front to back. Dust from above and dirt from below read it. |
| Thickness | How thin the mesh is behind the surface. Thin parts (ears, leaves, cloth edges) read it. |
| World Normal | Which way each texel faces in the mesh's own space: up, sideways or down. |
| Normal and Height | The detail of a more detailed mesh, carried onto a simpler one (below). |
| ID | A colour per material slot. |
| UV Islands | A gray per UV island, so effects can stop at seams. |
A Bake Set holds a mesh's maps (chapter 7). Baking takes seconds, runs in the background, and only needs doing again when the mesh changes.
High and low meshes. Game meshes are often made twice: a detailed high mesh with every bolt and crease modelled, and a lighter low mesh for the game. Baking can read the high mesh and record its detail on the low mesh's UVs as Normal and Height, so the light mesh looks detailed. The cage is the distance in front of and behind the low surface within which the baker looks for the high one. With no high mesh, the low mesh's own shape is baked; that is all most texturing needs.
Layers and masks
Painting tools and Surface Studio's Paint Editor build a mesh's look as a stack of layers, bottom to top, the way paint goes onto a real object: bare metal, then primer, then paint, then dirt. Each layer is a material laid over everything below it.
A mask says where a layer shows: white shows the layer, black hides it, gray shows it partly. A layer of rust with an edge-wear mask shows rust only on the worn edges. Masks are stacked too: an edge-wear mask times a noise gives worn edges broken up so they don't look machine-cut.
A Fill layer is a material spread evenly; its mask makes the shape. A Paint layer holds what you paint with a brush. A Group keeps layers together, to move, mask or hide them as one.
Smart Materials and Smart Masks
A Smart Material is a finished look made of layers and masks that reads the mesh maps, so it fits any mesh it's laid on: Worn Painted Metal shows bare metal where any mesh's edges are, and dirt where its creases are. Lay it on a texture set and it becomes a Group of layers you can open and change, with its main settings (its parameters: colour, wear, dirt) at the top.
A Smart Mask is a mask of the same kind: Edge Wear Heavy, Dust from Above, Rust Bloom. Put one on any layer and that layer shows where the mask says, on any mesh.
Both are graphs underneath, so you can open, change and save your own. Surface Studio ships with 32 Smart Materials and 46 Smart Masks (chapter 12).
Exporting
Your work stays editable in Surface Studio's own assets. When you're ready, Export writes ordinary Unreal textures and a material instance (a copy of a ready-made material with your textures plugged in), and can put that instance on the mesh's slots for you. What the game uses is the exported textures; Surface Studio isn't needed to show them.
A first textured mesh in ten minutes
This chapter textures a mesh from start to finish: a Paint Project made for it, its maps baked, a Smart Material laid on, a few brush strokes, and textures and a material exported onto the mesh. It uses the engine's material preview mesh, copied into your project; any mesh of your own works the same way.
Copy a mesh into your project
The engine's own meshes shouldn't be changed, so copy one first.
- In the Content Browser, open and tick Show Engine Content.
- Go to Engine › EngineMeshes and find SM_MatPreviewMesh_01 (the rounded sample shape used to preview materials).
- Drag it onto a folder of your project's, for example Content › Props, and choose Copy Here.
Texture This Mesh
- Right-click the copied mesh and choose Texture This Mesh (or open , pick the mesh on the Texture a Mesh card and press Texture This Mesh).
- The dialog shows the mesh, the Texture Size and the Starter Smart Material. Keep 2048, choose a Smart Material (try Chipped Red Paint), and press Create.
- A notification at the bottom right shows the bake's progress, with Cancel. On an RTX 4090 this mesh bakes in about three and a half seconds.
- When the bake ends, the Paint Editor opens: the mesh in the middle wears the Smart Material on every material slot, and the top layer of the first slot, a Paint layer, is selected, ready to paint.
Texture This Mesh made two assets beside the mesh: PP_MatPreviewMesh_01, the Paint Project, and BS_MatPreviewMesh_01, its Bake Set. Nothing is saved yet: press Save in the Paint Editor (or Ctrl+S) to keep them.
Look around
- Orbit with Alt and the left mouse button (the left button alone paints while a Paint layer is selected), and zoom with the mouse wheel.
- The Layers panel on the left lists the first texture set's layers, top first: your Paint layer, the Smart Material's Group (open it with its arrow to see the layers inside) and the Base fill. The Texture set box at the top switches between the mesh's material slots.
- Select the Smart Material's Group. Its parameters come first in the details on the right; drag Wear and watch the paint wear away from the edges while you drag.
- Under the views, the Shelf shows the starter library. Drag another Smart Material onto the mesh: it goes on the texture set under the cursor.
Paint
- Select the Paint layer at the top of the stack.
- In the details, under Brush, set Size to a size that suits the mesh, and under the brush material give Base Color a colour.
- Paint on the mesh with the left mouse button. Each stroke is one step of Ctrl+Z.
Export it onto the mesh
- Press the gold Export button at the top right and choose Export and Assign to Mesh.
- For each material slot, textures named T_PP_MatPreviewMesh_01_<slot>_<texture> (BaseColor, Normal and so on) and a material instance MI_PP_MatPreviewMesh_01_<slot> appear beside the project, and each instance goes on its slot of the mesh.
- Drag the mesh into a level: it wears the exported material. Save everything with .
The sample
Open Plugins › Flying Donkey Surface Studio › Examples › L_SurfaceStudioSample to see finished work: the material preview mesh in Chipped Red Paint, the preview box in Rough Stone with Worn Painted Metal and Moss laid over it, a drum in Galvanized Steel with a Rust Bloom mask, a floor of Cobblestones and a wall of Bricks (two starter patterns exported as materials), and a plane that renders a graph when you press Play, with a seed from its name. Each prop's folder holds its mesh, its Paint Project (double-click to open it in the Paint Editor and see how its stack is built), its Bake Set, and the textures and material instance Export wrote.
That's the whole loop. The next chapters go through each part in depth: graphs (chapters 4 to 6), baking (chapter 7), Smart Materials and Smart Masks (chapter 8), the Paint Editor and painting (chapters 9 and 10), and output (chapter 13).
The Graph Editor
A Surface Graph is a texture made from nodes. This chapter makes one and goes round its window: the grid where nodes are wired, the Library, the large preview with its 2D and 3D views, the details, and the bar along the top.
Make a graph
In the Content Browser, choose and name it (the starter library names graphs G_ and a name). Double-click it to open it.
A new graph isn't empty: it starts as a small working chain, so the window opens on a picture. A Perlin Noise goes through Levels (more contrast) and Blur HQ (softer), is multiplied by a soft disc from Shape, and lands on the Base Color output. The blurred noise also goes through Normal from Height to the Normal output. Change any node and the picture follows.
| Part | What it is for | |
|---|---|---|
| 1 | The top bar | Save, Fit, the output Size, the Seed, the JSON menu and the gold Export button. |
| 2 | The grid | Nodes and wires. Right-click to add a node, drag from a pin to wire it, double-click a wire for a Reroute. The Library button on its edge opens the drawer of nodes, Smart Materials and Smart Masks. |
| 3 | Details | The selected node's settings, each with a Promote pin; with nothing selected, the graph's own settings and its parameters. |
| 4 | The preview | The selected node's result, or the graph's output: flat in 2D (Tile 2 x 2 to check tiling), or on a mesh in 3D. |
| 5 | The status line | What was worked out, how much came from the cache, and any problems. |
The top bar
| Control | What it does |
|---|---|
| Save | Saves the graph. Saving also makes its picture: the thumbnail the Content Browser, the Shelf and the dialogs show (below). |
| Fit | Zooms the grid to show every node. |
| Size | The graph's output size, from 256 to 8192. Everything is measured as a share of the texture rather than in texels, so a graph looks the same at every size, only sharper. |
| by | The graph's height. Square (the default) makes it as tall as it is wide; pick a size of its own for a graph wider than tall, or taller than wide (Sizes and precision, next chapter). |
| Seed | The number every random node starts from. Change it for another variation of the whole graph. |
| JSON | Writes the graph as a text file, reads one in as a new graph, or writes its textures as image files (below). |
| Export (gold) | Writes the graph's textures, and a material instance, beside the graph (chapter 13). |
The grid
The grid works as Unreal's Material Editor does.
- Add a node: right-click empty grid. The menu lists every node by family (Noise, Patterns, Shapes, Adjust, Channels, Blend, Blur and warp, Transform, Distance and fill, Normal and height, Material, Mesh, Custom, Graph); type to search it.
- Add a node already wired: drag from a pin and let go on empty grid. The menu then lists only the nodes that can take that wire, and wires the one you choose.
- Wire: drag from an output pin (right side of a node) to an input pin (left side). An input takes one wire; a new wire replaces the old one. An output can feed any number of inputs.
- Wires that can't work are refused, with the reason: a gray image into a colour-only input, a colour image into a gray-only input, a Material into a pin that isn't one, or a loop (a node feeding itself, directly or round other nodes).
- Reroute: double-click a wire to put a Reroute node in it, to bend the wire round other nodes. It changes nothing in the image.
- Edit: Ctrl+C, Ctrl+X, Ctrl+V, Ctrl+D (duplicate), Delete and Ctrl+A as everywhere in the editor. Pasted and duplicated nodes are new nodes: their noise differs from the originals until you give them the same Seed.
- Comments: right-click empty grid › Add Comment, to box a group of nodes with a note.
- Undo (Ctrl+Z) and Redo (Ctrl+Y) cover everything.
Pin colours say what a pin carries: gray pins gray images (one value per texel: masks, heights, roughness), gold pins colour images (four values: red, green, blue and alpha), white pins take either, and Material pins a whole material (chapter 5).
Every node shows its own result as a small picture under its pins, updated after each change (while you drag a value, when the drag pauses). Title colours tell the families apart.
The Library
The Library button on the grid's edge opens a drawer listing every node by family, then the project's Smart Materials and Smart Masks, with a search box. Drag an entry onto the grid, or double-click it to place it in the middle of the view. A Smart Material or Smart Mask placed this way becomes a Subgraph node using it (chapter 5).
Selecting a node
Select a node and two things happen: the preview shows that node's result, and the details show its settings. Click empty grid to go back to the graph's own result (its Base Color output, else its first output) and the graph's own settings.
Settings change the picture while you drag them. During a drag the graph works at a quarter of its size (never below 256) so it keeps up; when you let go it works at full size. Both results are kept, so dragging never throws away the full one.
The preview: 2D and 3D
The large preview on the right has two tabs.
- 2D shows the selected node's result, or the graph's output, flat. Tile 2 x 2 shows four copies side by side, to check that it tiles.
- 3D shows the graph's outputs together as a material on a Sphere, Cube, Plane or Cylinder, or any static mesh of the project (the mesh picker), under the preview scene's sky. Orbit with the left mouse button and zoom with the wheel. It updates while values drag. It draws through the same master material export uses, so what you see is what export writes (chapter 13).
The View button over the 3D view picks its Lighting (Editor Preview, the editor's own preview lighting; Soft Studio, an even gray light; Clear Sky, an open sky) and its Backdrop (Lighting's Surroundings, Gray or Dark), and frames the mesh (Frame Mesh, or the F key). Left drag turns the camera around the mesh, right drag or the wheel zooms, and middle drag pans. Shift with a right drag turns the lighting; Reset Light Turn puts it back. The lighting and backdrop chosen are remembered for the project.
In a project with Lumen
With Lumen global illumination on (a new Unreal project has it on), Soft Studio and Clear Sky change the mesh's lighting only slightly in this version. The backdrop, the camera and the light's turn work as described.
A graph whose Preview Bake Set is set (in the graph's settings, with nothing selected) shows on that Bake Set's mesh in 3D, and its Smart Mask nodes read that mesh's maps (chapter 7).
Problems on nodes
When a node can't do its work, a bubble on the node says why, and the status line under the preview repeats it. The rest of the graph still works:
- an empty required input: the node works on a flat default (black for gray, black with full alpha for colour) and names the input;
- A and B of a Blend of different kinds (one gray, one colour): A passes through;
- a Smart Mask node with no mesh maps to read: black, and names what is missing;
- a node that writes nothing (a broken custom node): black, and named.
A problem inside a Subgraph shows on the Subgraph node itself. Chapter 19 lists every message.
The picture
When you save a graph from its window, Surface Studio keeps a picture of it: from the 3D view if it is open (the middle of the view, so the mesh fills it), otherwise from the 2D preview as the screen shows it. The picture is stored in the asset and in its package's thumbnail, so the Content Browser, the Shelf and the dialogs show it without loading the asset. A graph never saved from its window shows its kind's icon.
Working with graphs
This chapter covers what every graph uses: outputs and the channels they make, gray and colour images, Materials, sizes and precision, seeds, subgraphs and graph inputs, parameters, and graphs as text. Chapter 6 then goes through every node.
Outputs: what a graph makes
An Output node marks one texture the graph makes. Its Channel says which: Base Color, Normal, Roughness, Metallic, Height, Ambient Occlusion, Emissive or Opacity. Add one per texture you want; a graph without an Output node makes nothing to export. A channel belongs to its first Output node: a second Output on the same channel is neither shown in 3D nor exported.
A graph can instead end in one Material Output: every channel of the Material that reaches it is one of the graph's results, as if each had its own Output node. An Output node of the same channel overrides that one channel. Smart Materials end this way.
Gray, colour and Material images
Images flow along wires in three kinds:
- Gray: one value per texel. Masks, heights, roughness, metallic, ambient occlusion.
- Colour: red, green, blue and alpha per texel. Base Color, Normal (its direction stored as a colour), Emissive.
- Material: a bundle of channels together (Base Color, Normal, Roughness and the rest), so whole materials can be blended, layered and passed between graphs with one wire. Only the channels something wrote travel with it; the rest cost nothing.
Values are not limited to 0 to 1: Add can push them above 1 and Subtract below 0 on purpose, and nodes that need 0 to 1 hold their result there themselves.
Adjust nodes keep their input's kind: gray in, gray out; colour in, colour out, its alpha untouched.
Sizes and precision
A graph has one Size (the top bar). Every node works at the size of its first input, or the graph's size when it has none. A node can work at another size: in its details, under Size, Relative adds or takes powers of two (−1 is half the size, 1 twice), and Absolute sets a size of its own. A smaller node is faster and blurs more; a node fed images of other sizes stretches them to its own. Two more settings there decide what a relative size counts from: Size From Graph counts from the graph the node is in instead of its first input, and Size From Input names the input to follow.
Graphs that are not square. Set the top bar's by to a height of its own and the graph is that many texels tall: 2048 by 1024, say, for a plank or a trim sheet. Patterns and noises stretch with the image, as they would on a stretched square. Blurs, warps, distances, slopes and emboss reach a share of the shorter side, so they reach the same number of texels both ways and stay round. A node can have its own shape too: Separate Axes, under Size, gives it Relative Steps Down or an Absolute Height apart from its width. Previews and thumbnails show such a graph whole, with bars beside it; Export and a game write it width by height. Painting stays square: a Paint Project's texture sets are always as tall as they are wide.
Images are stored at 16-bit precision, which keeps memory low. Some inputs read the tiny differences between neighbouring texels (a Warp's Gradient, a Slope Blur's Slope, Normal from Height, Threshold and Quantize's edges); a slope makes 16-bit steps show as noise, so whatever feeds those inputs is stored at 32 bits automatically. Distance and Flood Fill always work at 32 bits. Any node can be set to 32 bits by hand with High Precision, under Size.
A node can also be told to hold its result the way an 8 or 16-bit image would: Storage, among its advanced settings, keeps every value between 0 and 1 at that many bits, where the default (Float) lets values run past either end. A graph has the same choice for all its nodes (Node Storage, in the graph's details). You rarely need it in a graph of your own; a graph imported from an .sbs file sets it, so a node that would clip where it was made clips here too.
Seeds
Every random node draws its noise from three things: the graph's Seed, the node's own identity, and its own Seed setting.
- Two copies of one noise node in a graph give different noise.
- Changing the graph's Seed changes every random node at once: a new variation of the whole texture.
- Changing a node's own Seed changes only that node.
- A graph duplicated in the Content Browser keeps its nodes' identities, so the copy looks the same until you change it.
A graph gives the same pixels every time on the same graphics card, and the same to within a tiny tolerance on another card.
Subgraphs and Graph Inputs
Any Surface Graph can be used inside another as one Subgraph node: drag it from the Library, or add a Subgraph node and choose the graph in its details.
- The subgraph's Graph Input nodes become the Subgraph node's input pins, named and typed as each Graph Input says (gray, colour, Material or texture). Opened on its own, or left unwired, a Graph Input gives its default value.
- The subgraph's Output nodes become the Subgraph node's output pins, named after each Output's name, or its channel. A Material Output becomes a Material pin.
- The pins follow the subgraph as it changes.
- A subgraph costs what its nodes cost, and its results are cached with the rest of the graph. Two Subgraph nodes of the same graph get their own seeds, so their noises differ.
- A graph that would contain itself, directly or through graphs it uses, is refused. Graphs nest up to 16 deep.
Parameters
A parameter is a setting brought to the front, so a graph can be changed without opening it: on a Smart Material laid in a Paint Project, on a Subgraph node, or from Blueprint while a game runs.
- In a node's details, each setting has a Promote pin at the end of its row. Press it and the setting becomes one of the graph's parameters, named after the node and the setting. Press it again to take it off. Each is one step of Undo.
- With nothing selected, the graph's details list its parameters: the name, which you can change; the node and setting it stands for (in red when either is gone); and a button to take it off.
- A node's label, and one part of a setting (one component of a colour), can't be promoted.
- A parameter whose node or setting has gone is reported when the graph is evaluated.
Value inputs and expressions
A graph can have value inputs: numbers, vectors, switches and text it hands to its own settings. With nothing selected, the graph's details list them under Values: each a name, a type (a float or int of one to four parts, a bool or a string), a default and the range it is shown with. A Subgraph node using the graph sets each one, to a value or to an expression of its own graph's values.
Any setting can follow an expression instead of its own value. Press the f button at the end of a setting's row (between the reset arrow and Promote), type the expression and press Apply (or Ctrl+Enter); while you type, the popup shows what it comes to with the value inputs at their defaults, or what is wrong with it. Clear gives the setting its own value back. A node whose settings follow expressions lists them above its details, each with an Edit button.
An expression reads the value inputs by name and gives the setting's value:
- numbers and vectors: 2.5, float2(0.5, 1.0), int(level * 4); parts by .x, .y, .xy and so on;
- arithmetic and comparisons: + - * / %, == != < <= > >=, && || !, and condition ? this : that;
- functions: abs, floor, ceil, round, frac, sqrt, exp, log, log2, sin, cos, tan, pow, atan2, min, max, clamp, lerp, dot, length, normalize, rand;
- steps before the result, each ending in a semicolon: w = width * 2; w + 1;
- the system values $size (the node's size in texels) and $sizelog2;
- the graph's own Functions (in its details, under Functions): named expressions with arguments, called like the built-in ones.
Expressions are worked out wherever the graph is used: in its own editor, inside a Subgraph node with that node's values, and in a game. Graphs imported from .sbs files use them for the functions their settings had (chapter 16).
Graphs as text (JSON)
The top bar's JSON menu:
- Export JSON… writes the open graph as a JSON text file.
- Import JSON as a new graph… reads one into a new Surface Graph next to the open one, under a free name; nothing is overwritten, and the new graph stays unsaved until you save it.
- Export Textures to Files writes the textures Export would make as image files: PNG or TGA (8-bit), EXR (16-bit float) or TIFF (16-bit), in a folder you pick.
The file lists the graph's size and seed, every node (its kind, identity, place on the grid, and only the settings changed from that node's defaults), the wires by node and pin name, and the comments. Subgraphs and textures are named by their asset paths. The same graph always writes the same text, so files compare cleanly in version control. Reading keeps every node's identity, so the graph read back gives the same pixels. Anything the reader doesn't know (a node from a plugin not installed, a setting a node doesn't have, a wire it can't make) is left out and listed in the Output Log, never guessed.
The example graphs
The plugin's Examples folder holds three example materials as JSON: Bricks (a worn red brick wall with mortar, and Ambient Occlusion), Rusted Metal (brushed steel with rust patches and pits, and Metallic) and Wood (staggered planks with ring grain). Each has Base Color, Normal, Roughness and Height outputs, is built only from the library's nodes, and tiles. Read one in with Import JSON as a new graph… and take it apart: every node is labelled with what it does.
The starter patterns (chapter 12) are bigger examples of the same kind, and they're already assets: open any of them from Patterns.
Node reference
Every node in the library, family by family, as the right-click menu and the Library list them: what it does, its pins, and every setting with its default, its range and what it changes. Pins marked optional may be left unwired. Settings measured in UV are shares of the texture's width (0.5 is half of it), so a graph looks the same at every size.
Settings every node has
Each node's details start with its own settings (below, node by node) and end with these, which every node has:
| Setting | Default | Range | What it does |
|---|---|---|---|
| Display Name | empty | The node's name on the grid. Empty: the name of its kind. | |
| Size Mode | Relative | How the node's size is set: Relative to its first input (the graph's size when it has none), or Absolute, a size of its own. Choices: Relative: The size of the node's first input (the graph's size when it has none), changed by Relative Steps: each step doubles it, each negative step halves it; Absolute: A size of the node's own: Absolute Size. | |
| Relative Steps | 0 | -12 to 12 | Powers of two added to the first input's size (negative halves). |
| Absolute Size | 1024 | 16 to 8192 | The node's own size in texels, when Size Mode is Absolute. |
| Separate Axes | Off | Relative Steps for the width only, and Relative Steps Down for the height. | |
| Relative Steps Down | 0 | -12 to 12 | With Separate Axes on: powers of two added to the height (negative halves). |
| Absolute Height | 0 | 0 to 8192 | The node's own height in texels when Size Mode is Absolute; 0 for Absolute Size both ways. |
| Size From Graph | Off | A relative size counts from the size of the graph the node is in, not its first input, and a generator takes its own size too, as the source application's sizes relative to the parent work. Off: relative to the first input, a generator at the graph's size. | |
| Size From Input | none | The input the node's size follows, by name; none follows the first connected input. When the named input is not connected, the graph's size. | |
| High Precision | Off | Outputs as 32-bit floats instead of 16 (gray and colour). | |
| Storage | Float | How the outputs are kept: floats (any value), 8 or 16-bit fractions that hold each result to 0..1, or as the graph's Node Storage says. A fraction takes the place of High Precision. Choices: Float: 16-bit floats, 32-bit with High Precision: any value; 8-bit (0 to 1): 8 bits a channel, each result held to 0..1; 16-bit (0 to 1): 16 bits a channel, each result held to 0..1; As Its Graph: The graph's Node Storage (its graph's settings, or as the Subgraph node holding it keeps its results). |
Noise
Random, natural-looking images: the raw material of most masks and surfaces. Every noise tiles, and its Scale is a whole number of cells across the texture.
Anisotropic Noise
Value noise with its own cell counts across and down: few across and many down draws long streaks across, for brushed metal, wood grain and fibres.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Count Across | 4 | 1 to 64 | Cells across the image (a whole number, so it tiles). |
| Count Down | 256 | 1 to 4096 | Cells down the image (a whole number, so it tiles). |
| Count Down by Resolution | Off | One cell down for every row of texels, whatever the size, in place of Count Down: each row its own value. | |
| Smoothness | 1 | 0 to 1 | How the cells blend into each other: 0 hard steps, 1 smooth. |
| Rotate | Off | Turns the noise a quarter turn, so the streaks run down. | |
| Seed | 0 | Another seed gives another noise with the same settings. |
Blue Noise
Random grays per texel with the clumps taken out: even, fine grain with no blotches, for dithering and scattering.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Seed | 0 | Another seed gives another noise with the same settings. |
Clouds
Soft, billowing value noise, pushed around by more noise: clouds, smoke, stains.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Scale | 2 | 1 to 1024 | How many noise cells across the texture (a whole number, so it tiles). |
| Octaves | 8 | 1 to 10 | How many layers of finer noise are added, each twice as fine as the one before. |
| Roughness | 0.55 | 0 to 1 | How much each further octave contributes. |
| Warp | 0.3 | 0 to 2 | How far the shapes are pushed around, in cells of the first octave. |
| Balance | 0.5 | 0 to 1 | Where the middle gray falls: lower leaves more of the image dark, higher more of it light. |
| Contrast | 0 | 0 to 1 | Pushes the grays apart, toward black and white. |
| Seed | 0 | Another seed gives another noise with the same settings. |
Crystal
Faceted shards: each cell a tilted plane, layered over finer cells.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Scale | 4 | 1 to 1024 | Cells across the image at the first layer. |
| Layers | 3 | 1 to 4 | Layers of finer cells. |
| Roughness | 0.5 | 0 to 1 | How much each finer layer contributes. |
| Seed | 0 | Another seed gives another noise with the same settings. |
Fractal Sum
Octaves of value noise from Min Level to Max Level, where level L has 2^L cells across: from broad patches down to grain.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Min Level | 1 | 0 to 12 | The broadest level: 0 is one cell across the image. |
| Max Level | 8 | 0 to 12 | The finest level: 8 is 256 cells across. |
| Roughness | 0.5 | 0 to 4 | How much each finer level contributes (past 1, more than the coarser one). |
| Sum | Stretched | How the levels add up. Choices: Stretched: The levels' sum stretched to the full range, whatever the levels and roughness; Summed: As the source application's fractal sum base 2 adds its levels: level L has 2^(L-1) cells across (level 0 adds black), each keeping its own spread about a half, weighed by Roughness once more per level and divided by the weights' sum (so a roughness past 1 darkens it); Summed Fourth as Third: Summed, as the source application's first fractal sum base adds its levels: the same, except that level 4 is weighed as the third would be (as the fifth when it is the lowest). | |
| Seed | 0 | Another seed gives another noise with the same settings. |
Gaussian Spots
Soft round spots, one per cell at a random place, each with its own size and strength.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Scale | 8 | 1 to 1024 | Cells across the image (one spot each). |
| Size | 0.35 | 0.05 to 1 | A spot's size, in cells. |
| Size Variation | 0.5 | 0 to 1 | How much smaller some spots are: 0 all the same, 1 down to nothing. |
| Intensity Variation | 0.5 | 0 to 1 | How much fainter some spots are: 0 all the same, 1 down to nothing. |
| Seed | 0 | Another seed gives another noise with the same settings. |
Perlin Noise
Smooth, natural-looking noise: the most common start for masks, dirt, stains and variation. It tiles.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Scale | 4 | 1 to 1024 | Lattice cells across the image at the first octave. |
| Octaves | 4 | 1 to 8 | How many layers of finer noise are added, each twice as fine as the one before. |
| Roughness | 0.5 | 0 to 1 | How much each further octave contributes. |
| Seed | 0 | Picks another pattern of noise. | |
| Disorder | 0 | 0 to 10 | How far a second noise of the same scale pushes the noise about, in its first octave's cells: 0 none. Still tiles. |
Ridged Noise
Sharp bright ridges along the noise's zero lines, octave over octave: mountain ranges, veins, cracks.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Scale | 4 | 1 to 1024 | How many noise cells across the texture (a whole number, so it tiles). |
| Octaves | 6 | 1 to 8 | How many layers of finer noise are added, each twice as fine as the one before. |
| Roughness | 0.5 | 0 to 1 | How much each further octave contributes. |
| Seed | 0 | Another seed gives another noise with the same settings. |
Simplex Noise
Smooth noise on a triangle lattice: rounder, less grid-aligned features than Perlin.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Scale | 4 | 2 to 1024 | Lattice rows across the image at the first octave; even numbers only (odd ones round up), so the rows repeat. |
| Octaves | 4 | 1 to 8 | How many layers of finer noise are added, each twice as fine as the one before. |
| Roughness | 0.5 | 0 to 1 | How much each further octave contributes. |
| Seed | 0 | Another seed gives another noise with the same settings. |
Starburst
Spikes from the middle, white there and fading to their tips: bursts, sparkles, cracks spreading from a point.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Branches | 12 | 1 to 64 | How many spikes. |
| Randomness | 0.1 | 0 to 1 | How far each spike turns from even spacing: 0 evenly round, 1 anywhere in its share. |
| Size Max | 1 | 0.01 to 2 | The longest spike, as a share of the image's width. |
| Size Min | 0.1 | 0 to 2 | The shortest a spike can be, as a share of the image's width. |
| Size Variation | 0.3 | 0 to 1 | How much shorter some spikes are: 0 all the longest, 1 down to the shortest. |
| Spike Shape | Pointed | The spikes' shape. Choices: Pointed: Narrowing to a point, fading evenly to the tip; Size Min the shortest a spike can be; Soft: Soft half-ellipses from the middle, fading smoothly to the tip (Size Max their reach, in UV) and to their sides (Size Min their width as a share of their length), cut straight at the middle; Randomness turns each spike by up to that many turns either way (most less). | |
| Compatible Spikes | Off | Soft: the spikes as the source application's starburst draws them: the randomness turning each one way only, by up to that many turns evenly; fading as (1 - d^2)^4 instead of cubed; and the size variation also thinning and dimming each by a random amount of its own (a shorter spike keeps its width). The .sbs import turns it on. | |
| Blur Amount | 0 | 0 to 32 | Softens the spikes: an even average over a square reaching this many 256ths of the width either side, in whole texels (the source application's blur amount); 0 leaves them as drawn. |
| Tiling | 1 | 1 to 16 | The whole burst repeated this many times across and down, each repeat the same and the blur scaled with it. |
| Seed | 0 | Another seed gives another noise with the same settings. |
Turbulence
The noise's distance from zero, octave over octave: dark creases between soft billows.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Scale | 4 | 1 to 1024 | How many noise cells across the texture (a whole number, so it tiles). |
| Octaves | 6 | 1 to 8 | How many layers of finer noise are added, each twice as fine as the one before. |
| Roughness | 0.5 | 0 to 1 | How much each further octave contributes. |
| Seed | 0 | Another seed gives another noise with the same settings. |
Value Noise
Random values on a grid, blended smoothly: soft, blobby noise.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Scale | 4 | 1 to 1024 | Grid cells across the image at the first octave. |
| Octaves | 4 | 1 to 8 | How many layers of finer noise are added, each twice as fine as the one before. |
| Roughness | 0.5 | 0 to 1 | How much each further octave contributes. |
| Seed | 0 | Another seed gives another noise with the same settings. |
Voronoi Cells
Voronoi cells: white cells with dark borders, and each cell's own random gray (for picking per-cell colours, heights or masks).
Inputs: none · Outputs: Cells (gray), Cell Random (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Scale | 6 | 1 to 1024 | Cells across the image. |
| Jitter | 1 | 0 to 1 | How far each cell's point may stray from its centre: 0 is a regular grid of squares, 1 anywhere in the cell. |
| Border Width | 0.04 | 0 to 16 | Half the border's width, in cells (at most 0.5), or in texels with Texel Borders. |
| Border Softness | 0 | 0 to 16 | How far the border fades into the cell, in cells (at most 0.5; 0 is a crisp edge), or in texels with Texel Borders. |
| Texel Borders | Off | Border Width and Border Softness count texels instead of cells, so the borders stay as thin at any size and scale. | |
| Whole Texel Borders | Off | Borders in whole texels, never softened: a texel is border when a neighbour across or down lies in another cell, or when it lies within Border Width (and Border Texels) of the border, as the source application's Cells 2 draws them. Border Softness is unused. | |
| Invert | Off | Dark cells with white borders instead. | |
| Point Falloff | Off | Cells is white at each cell's point and falls off with the distance to it instead of drawing borders. | |
| Falloff | 0.444 | 0 to 16 | How fast Cells falls off with Point Falloff: 1 - Falloff x the squared distance to the point, in cells. |
| Border Texels | 0 | 0 to 16 | Texels added to Border Width either side, so borders stay at least this thick however small the cells. |
| Gray Steps | 0 | 0 to 256 | Cell Random in this many even grays up to white (1 / steps, 2 / steps ... 1); 0 is any gray. |
| Seed | 0 | Another seed gives another noise with the same settings. |
White Noise
A random gray for every texel: the finest noise there is, for grain, dithering and scattering.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Seed | 0 | Another seed gives another noise with the same settings. |
Worley Noise
Cellular noise: one random point per cell; F1 is the distance to the nearest point, F2 to the second nearest, and F2 - F1 is dark along the borders between cells. Distances are in cells.
Inputs: none · Outputs: F1 (gray), F2 (gray), F2 - F1 (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Scale | 6 | 1 to 1024 | Cells across the image. |
| Jitter | 1 | 0 to 1 | How far each point may stray from its cell's centre: 0 is a regular grid, 1 anywhere in the cell. |
| Distance | Euclidean | How distance is measured, which shapes the cells. Choices: Euclidean: Straight-line distance: round cells; Manhattan: Across plus down: diamond-shaped cells; Chebyshev: The larger of across and down: square cells. | |
| Seed | 0 | Another seed gives another noise with the same settings. |
Patterns
Regular layouts (bricks, tiles, weaves, scales, gradients) and the Tile Sampler, which scatters copies of any image. Cell patterns also give each cell its own random gray.
Bricks
Rows of bricks, every other row shifted; mortar between them.
Inputs: none · Outputs: Pattern (gray), Cell Random (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Count X | 4 | 1 to 64 | Bricks per row. |
| Count Y | 8 | 1 to 64 | Rows; an odd number rounds up when rows are shifted, so the bond repeats. |
| Offset | 0.5 | 0 to 1 | How far every other row moves, in bricks (0.5 is the usual half-brick bond). |
| Gap | 0.08 | 0 to 0.5 | Half the mortar's width, as a fraction of a brick's height. |
| Bevel | 0.15 | 0 to 0.5 | How far each brick's edge slopes up from the mortar, as a fraction of a brick's height. |
| Height Variation | 0.3 | 0 to 1 | How much lower some bricks sit: 0 all the same, 1 down to nothing. |
| Seed | 0 | Another seed gives other random values per cell. |
Checker
Black and white squares.
Inputs: none · Outputs: Pattern (gray), Cell Random (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Count X | 8 | 2 to 64 | Squares across; an even number (odd ones round up) so the colours alternate across the repeat too. |
| Count Y | 8 | 2 to 64 | Squares down; even, as across. |
| Seed | 0 | Another seed gives other random values per cell. |
FX-Map
Patterns placed by a tree of steps: quadrants that draw in their cell and split it in four, iterates that repeat a branch, switches that choose one; each setting an expression, so every copy can move, turn, size and colour itself. Patterns are shapes or the image inputs; copies crossing an edge wrap to the opposite one.
Inputs: Background (gray or colour, optional), Image 1 (gray or colour, optional), Image 2 (gray or colour, optional), Image 3 (gray or colour, optional), Image 4 (gray or colour, optional) · Outputs: Color (colour), Gray (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Steps | — | The steps; the first is where drawing starts. | |
| Background Color | R 0, G 0, B 0, A 1 | The colour under the patterns, when nothing is wired into Background. | |
| Opacity | 1 | 0 to 1 | How much the patterns show over the background: 0 none, 1 fully. |
| Random Seed | 0 | Changes every random number the expressions draw (rand). | |
| Compatible Shapes | Off | Draws the shapes as the source application does (Bell, Gaussian, Thorn, Brick, Waves, Half Bell, Ridged Bell, Crescent and Capsule differ from the plain shapes) and adds Cone (16). The .sbs import turns it on. | |
| Share Among Levels | Off | Divides every pattern's colour by the number of quadrant levels the steps have (each quadrant's quarters one level below it, every branch counted whether or not it is taken), as the source application does. The .sbs import turns it on. | |
| Roughness | 1 | 0 to 1 | With Share Among Levels on, how the brightness falls from level to level: each level takes Roughness times the one above it (1 all alike, 0 only the first), as the source application's roughness (hurst). |
| Compositing | Plain | How the patterns go down: as each step's Blend says, or as the source application's gray or colour FX-Map does. The .sbs import sets it from the FX-Map's colour switch. Choices: Plain: Each pattern goes down as its step's Blend says, the gray output the colour's luminance; Compatible Gray: As the source application's gray FX-Map: a pattern's gray is its colour's mean, added (Blend 0) or the brighter (any other); Compatible Color: As the source application's colour FX-Map: a pattern's colour is taken by its alpha; Blend 0 adds it and lays its alpha over, any other lays it over by its alpha. | |
| Max Patterns | 65536 | 1 to 262144 | The most patterns drawn; a tree that would draw more stops there. |
Gradient Angular
The angle around the centre, black to white once round, in a grid of copies. It does not tile (the copies meet with different angles); Folded measures the angle within each quarter, mirrored, and tiles.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Count | 1 | 1 to 64 | Copies across the texture and down it. |
| Start | 0 | 0 to 360 | Where black starts, in degrees from pointing right; the angle grows turning towards pointing down. |
| Folded | Off | The angle within each quarter, mirrored: black along the line across the centre, white along the line down through it, a half on the diagonals. Tiles. | |
| Seed | 0 | Another seed gives other random values per cell. |
Gradient Linear
A straight gradient, for masks and blends.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Kind | Ramp | The gradient's shape. Choices: Ramp: Black at one edge to white at the other. It does not tile: the edges meet black against white; Triangle: Black at the edges, white in the middle; it tiles; Arch: Black at the edges, white in the middle, rising fast and levelling off towards the middle (1 - (1 - x)^2 on each side); it tiles. | |
| Direction | Across | Which way the gradient changes. Choices: Across: Changes from left to right; Down: Changes from top to bottom. | |
| Reverse | Off | Runs it the other way: white at the left (or top) and black at the right (or bottom). | |
| Tiling | 1 | 1 to 64 | Copies of the gradient along its direction: 2 runs it twice across the texture. |
| Tile from Centre | Off | The copies spread out from the texture's middle rather than its edge, so an even count puts copies' meeting point at the middle (as the source application's gradients tile). | |
| Seed | 0 | Another seed gives other random values per cell. |
Gradient Radial
Black at the centre to white at the radius, or the reverse, in a grid of copies; it tiles.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Count | 1 | 1 to 64 | Copies across the texture and down it. |
| Radius | 1 | 0.05 to 2 | Where it reaches white, in halves of a copy's width: 1 meets the middle of each edge. |
| Invert | Off | White at the centre, black at the radius. | |
| Seed | 0 | Another seed gives other random values per cell. |
Hexagons
Hexagonal cells (stretched to fit whole numbers across and down) with gaps between them.
Inputs: none · Outputs: Pattern (gray), Cell Random (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Count X | 6 | 1 to 64 | Hexagons per row. |
| Count Y | 8 | 2 to 64 | Rows, an even number (odd ones round up) so the shifted rows repeat. About 1.15 times Count X looks regular. |
| Gap | 0.06 | 0 to 0.5 | Half the gap's width, as a fraction of a cell's smaller side. |
| Bevel | 0.15 | 0 to 0.5 | How far each cell's edge slopes up from the gap. |
| Height Variation | 0.2 | 0 to 1 | How much lower some cells sit: 0 all the same, 1 down to nothing. |
| Seed | 0 | Another seed gives other random values per cell. |
Scales
Overlapping round scales in rows, each row over the one below: fish, dragons, roof shingles.
Inputs: none · Outputs: Pattern (gray), Cell Random (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Count X | 8 | 1 to 64 | Scales per row. |
| Count Y | 12 | 2 to 64 | Rows, an even number (odd ones round up) so the shifted rows repeat. |
| Radius | 0.75 | 0.5 to 1.5 | A scale's radius, in scale widths: larger overlaps more. |
| Softness | 0 | 0 to 0.5 | How far a scale's rim fades, in scale widths (0 is a crisp rim). |
| Height Variation | 0.2 | 0 to 1 | How much lower some scales sit: 0 all the same, 1 down to nothing. |
| Seed | 0 | Another seed gives other random values per cell. |
Scratches
Scratches: Count thin strokes scattered over the image, each with its own direction, width and gentle bend; for worn metal, plastic and paint. It tiles.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Count | 128 | 1 to 4096 | How many strokes. |
| Length | 0.1 | 0.005 to 0.5 | A stroke's length, in UV. |
| Length Random | 0 | 0 to 1 | How much shorter some strokes are: 0 all the same, 1 down to nothing. |
| Width | 0.003 | 0.0001 to 0.05 | A stroke's width, in UV. |
| Soft Sides | Off | A stroke's sides fall away evenly from its middle line to its width's edges, so thin strokes read faint; off, a stroke is solid to a crisp edge. | |
| Width Random | 0.5 | 0 to 1 | How much thinner some strokes are: 0 all the same, 1 down to nothing. |
| Angle | 0 | -360 to 360 | The way strokes run before Rotation Random turns them, in degrees: 0 across, 90 down. |
| Rotation Random | 1 | 0 to 1 | How far strokes turn from running across, at random: 0 all across, 1 any way. |
| Bend | 0.05 | 0 to 0.5 | How far a stroke bends to its sides, as a share of its length. |
| Bend Random | 0 | 0 to 1 | How much less some strokes bend: 0 all alike, 1 down to straight. |
| Bend Frequency | 0.5 | 0 to 4 | How many bends along a stroke. |
| Fade | On | Strokes thin away toward their ends. | |
| Dim | None | Which ends of a stroke darken, evenly along it. Choices: None: Each stroke is as bright from end to end; Toward End: Strokes darken toward the end they run to; Toward Start: Strokes darken toward the end they start from; Both Ends: Strokes darken toward both ends. | |
| Dim Length | 1 | 0.01 to 8 | How far along a stroke the darkening runs, as a share of its length (both ends: the two together); past 1 the stroke never reaches full brightness. |
| Brightness Random | 0 | 0 to 1 | How much darker some strokes are: 0 all white, 1 down to black. |
| Seed | 0 | Changes where the strokes fall and how each one looks. |
Splatter Circular
Copies of the pattern on rings about the middle: flowers, rosettes, rivets round a hatch, stones round a well. Each copy can be moved, sized, turned and dimmed at random; up to four patterns to pick from.
Inputs: Pattern (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Copies | 8 | 1 to 256 | Copies on each ring. |
| Rings | 1 | 1 to 16 | Rings, evenly spaced out to Radius. |
| Radius | 0.3 | 0 to 1 | The outer ring's distance from the middle, in UV (0.5 reaches the edges). |
| Spiral | 0 | 0 to 4 | How far the copies step outward round each ring, in rings' spacing per round: 0 circles, 1 a spiral. |
| Size | X 0.1, Y 0.1 | 0.001 to 4 | A copy's size across and down, in UV. |
| Size Random | 0 | 0 to 1 | How much smaller some copies are: 0 all the same, 1 down to nothing. |
| Size Random Across | 0 | 0 to 1 | How much narrower some copies are, on top of Size Random: 0 all the same, 1 down to nothing. |
| Size Random Down | 0 | 0 to 1 | How much shorter some copies are, on top of Size Random: 0 all the same, 1 down to nothing. |
| Radius Random | 0 | 0 to 1 | How far some copies move in toward the middle, as a share of their ring's radius. |
| Angle Random | 0 | 0 to 1 | How far copies move along their ring, as a share of the spacing between them. |
| Rotation | 0 | -1 to 1 | A turn every copy takes, in turns. |
| Rotation Random | 0 | 0 to 1 | How far copies turn at random, in turns either way. |
| Face Centre | Off | Turns each copy with its place round the ring, so all face the middle the same way. | |
| Ring Rotation | 0 | -1 to 1 | Turns the rings about the middle, in turns. |
| Ring Rotation Random | 0 | 0 to 1 | How far each ring turns at random, in turns either way. |
| Arc | 1 | 0 to 1 | The share of each ring the copies spread over, from Ring Rotation round: 1 the whole ring, 0.25 a quarter. |
| Brightness Random | 0 | 0 to 1 | How much darker some copies are: 0 all the same, 1 down to black. |
| Blend | Max | Where copies overlap: the brightest wins, or they add up. Choices: Max: Where copies overlap, the brighter wins; Add: Overlapping copies add up (held at white). | |
| Pattern Count | 1 | 1 to 4 | How many patterns copies pick from at random; each adds a pattern pin. |
| Offset | X 0, Y 0 | Moves the whole pattern, in UV. | |
| Ring Stagger | 0 | -1 to 1 | Turns each ring further than the ring inside it, by this share of the spacing between copies: 0.5 sets every other ring's copies between those of its neighbours. |
| Darken in Order | 0 | 0 to 1 | Darkens copies in their order round each ring: 0 none, 1 the last black. |
| Darken Reversed | Off | Darkens in the other order: the first copy darkest. | |
| Mask Random | 0 | 0 to 1 | The share of copies left out at random: 0 none, 1 all. |
| Seed | 0 | Changes the random choices. |
Stripes
Parallel stripes: Count X across and Count Y down, so setting both gives diagonal stripes that still tile.
Inputs: none · Outputs: Pattern (gray), Cell Random (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Count X | 8 | 0 to 64 | Stripes met crossing the image left to right (0 for horizontal stripes). |
| Count Y | 0 | 0 to 64 | Stripes met crossing the image top to bottom (0 for vertical stripes). |
| Width | 0.5 | 0 to 1 | The white part of each stripe and its gap together. |
| Softness | 0 | 0 to 0.5 | How far each edge fades, as a fraction of a stripe and its gap (0 is a crisp edge). |
| Seed | 0 | Another seed gives other random values per cell. |
Tile Sampler
Places a copy of its input in every cell of a grid, each with its own size, position, rotation and brightness: pebbles, studs, rivets, scattered leaves. The result tiles.
Inputs: Pattern (gray or colour), Mask Map (gray, optional), Scale Map (gray, optional), Rotation Map (gray, optional), Vector Map (colour, optional), Color Map (colour, optional) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Count X | 8 | 1 to 2048 | Cells across the texture: how many copies in each row. |
| Count Y | 8 | 1 to 2048 | Rows of cells down the texture. |
| Size | 0.8 | 0.001 to 1024 | A copy's size, in cells (1 fills its cell, or its tile less the gap); across only when Separate Sizes is on. Copies many cells wide cost more: each texel gathers the copies of every cell they can reach. |
| Separate Sizes | Off | Sizes copies across and down apart: Size across, Size Down down. | |
| Size Down | 0.8 | 0.001 to 1024 | A copy's size down, in cells, when Separate Sizes is on. |
| Size Random | 0 | 0 to 1 | How much smaller some copies are: 0 all the same, 1 down to nothing. |
| Size Random Across | 0 | 0 to 1 | How much narrower some copies are, on top of Size Random: 0 all the same, 1 down to nothing. |
| Size Random Down | 0 | 0 to 1 | How much shorter some copies are, on top of Size Random: 0 all the same, 1 down to nothing. |
| Position Random | 0 | 0 to 64 | How far copies stray from their cell's centre, in cells (half of it either way); with Stray On Ring, exactly this far in cells of the grid's longer side. Past half the texture copies land anywhere. |
| Stray on Ring | Off | Every copy strays exactly Position Random from its cell's centre, in a direction of its own (a ring), instead of up to half of it either way. Far strays cost more: each texel gathers every cell whose copy can reach it. | |
| Stray Direction | Either Way | Which way copies stray (unless on a ring): up to half of Position Random either way on each axis, or up to half of it along Stray Angle, or along an angle of their own between 0 and Stray Angle. Choices: Either Way; Along the Angle; Random Angle. | |
| Stray Angle | 0 | -360 to 360 | The stray's angle, in degrees clockwise from across (or the widest angle, for a random one). |
| Size Random Blend | Off | Size Random blends each copy's size toward a random size between none and filling its cell, by that share, instead of shrinking it: large copies come out mostly cell-sized or smaller, small ones grow too. | |
| Size Spread | 0 | 0 to 32 | How far sizes spread both ways, as a share of the size: some copies much smaller, some larger (each copy's size times |1 + spread x (1.1 u - 0.95 v)| for two random numbers u and v). 0 none. |
| Rotation Random | 0 | 0 to 1 | How far copies turn either way, in turns (1 is any angle). |
| Brightness Random | 0 | 0 to 1 | How much darker some copies are: 0 all the same, 1 down to black. |
| Blend | Max | How overlapping copies combine. Choices: Max: Where copies overlap, the brighter wins; Add: Overlapping copies add up (held at white). | |
| Row Offset | 0 | 0 to 1 | How far every other row of cells moves across, in cells: 0.5 lays the copies like bricks. |
| Tile Width Random | 0 | 0 to 0.95 | How much the tiles along each row differ in width: every boundary between two cells of a row moves up to half this either way, in cells, so each row keeps its length and each copy fills its own tile. 0 an even grid. |
| Row Height Random | 0 | 0 to 0.95 | How much the rows differ in height: every boundary between two rows moves up to half this either way, in cells. |
| Gap | 0 | 0 to 1 | A gap left round every tile before its copy is sized, as a share of the shorter side of a cell (of each tile's own with Gap Per Tile). |
| Gap Per Tile | Off | The gap is a share of each tile's own shorter side, so smaller tiles have narrower gaps. | |
| Split Aspect | 0 | 0 to 16 | Tiles longer than this many times their width are cut along their length into as many pieces as fit about square, each its own copy (0 none). |
| Split Again Aspect | 0 | 0 to 16 | Pieces of a cut tile still longer than this many times their width are cut once more (0 none). |
| Split Extra | 0 | 0 to 8 | Pieces added to every cut beyond those that fit about square. |
| Shift | X 0, Y 0 | Moves every copy, in UV (wrapping). | |
| Gain | 1 | 0 to 16 | Multiplies the result, held to 0..1 when away from 1. |
| Output Low | 0 | 0 to 1 | After the gain, the range of values stretched to black and white (below Output Low black, above Output High white). |
| Output High | 1 | 0 to 1 | After the gain, the value that becomes white; values between Output Low and this are stretched from black to white. |
| Zoom | 1 | 0.05 to 64 | Magnifies the whole result about the middle (2 shows the middle half twice as large; below 1 shrinks it). |
| Rotation | 0 | -1 to 1 | A turn every copy takes besides its random one, in turns. |
| Brightness by Number | Off | Each copy's brightness rises with its number in the grid (counted down each column in turn, the last white), the brightness random blending it toward a random brightness instead of darkening from white. | |
| Quarter Turn Random | 0 | 0 to 1 | The share of copies turned by a random quarter turn (none, a quarter, a half or three quarters, alike). |
| Crisp Copies | Off | Each copy stamped hard: a texel is in the copy or it is not, with no soft rim, and the pattern is cut at half gray. For flat shapes (a disc, a square); a pattern with grays of its own comes out black and white. | |
| Drop | 0 | 0 to 1 | The share of copies left out, chosen cell by cell from the seed: 0 none, 1 all. |
| Pattern Count | 1 | 1 to 4 | How many patterns each copy picks from at random: Pattern, then Pattern 2 to Pattern 4 (an unwired one gives Pattern's). |
| Mask Threshold | 0.5 | 0 to 1 | With a Mask Map wired: copies are left out where it is under this (over it, with Mask Invert). |
| Mask Invert | Off | Leaves copies out where the Mask Map is over the threshold instead of under it. | |
| Scale Map Amount | 1 | 0 to 1 | How far a wired Scale Map sizes the copies: 0 not at all, 1 a copy's size times the map. |
| Rotation Map Amount | 1 | -4 to 4 | How far a wired Rotation Map turns the copies: white turns them this many turns. |
| Vector Displacement | 0.05 | 0 to 1 | How far a wired Vector Map pushes the copies, in UV for a full red or green (mid-gray still). |
| Vector Rotation | 0 | 0 to 1 | How far copies turn to follow a wired Vector Map's direction: 0 not at all, 1 fully. |
| Vector Scale | 0 | 0 to 4 | How far a wired Vector Map's length sizes the copies (red and green read from -1 to 1, so a full red is length 1 and mid-gray 0): 0 not at all, 1 a copy's size times the length, past 1 further the same way. |
| Rotation Fit | Off | Each turned copy shrunk to stay within its square (by 1 / (|cos| + |sin|) of its turn: a 45 degree turn to 0.71 of its size). | |
| Color Map Amount | 1 | 0 to 1 | How far a wired Color Map dims the copies: 0 not at all, 1 a copy's brightness times the map's. |
| Symmetry Random | 0 | 0 to 1 | The share of copies mirrored across. |
| Seed | 0 | Another seed gives other sizes, positions, rotations and brightnesses. |
Tiles
A grid of tiles with grout between them.
Inputs: none · Outputs: Pattern (gray), Cell Random (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Count X | 8 | 1 to 64 | Tiles across the texture. |
| Count Y | 8 | 1 to 64 | Rows of tiles down the texture. |
| Gap | 0.06 | 0 to 0.5 | Half the grout's width, as a fraction of a tile's smaller side. |
| Bevel | 0.15 | 0 to 0.5 | How far each tile's edge slopes up from the grout, as a fraction of a tile's smaller side. |
| Height Variation | 0.2 | 0 to 1 | How much lower some tiles sit: 0 all the same, 1 down to nothing. |
| Seed | 0 | Another seed gives other random values per cell. |
Waveform
Bars across the image like a sound's waveform: each centred on the middle line, its height a random share of the image between Size Min and Size Max, or following a smooth wave. Cell Random gives each bar's own gray.
Inputs: none · Outputs: Pattern (gray), Cell Random (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Count | 64 | 1 to 2048 | Bars across the image. |
| Size Min | 0.05 | 0 to 1 | The shortest bar, as a share of the image's height. |
| Size Max | 0.5 | 0 to 1 | The tallest bar, as a share of the image's height. |
| Noise | 0 | 0 to 1 | A further random wobble on each bar's height; on a wave, each bar trimmed by up to this share at random. |
| Wave | Off | The bars follow a smooth wave instead of random heights: nothing at the ends of each wave, Size Max at its middle; Size Min is then the shortest bar as a share of Size Max. | |
| Waves | 1 | 1 to 64 | On a wave: how many waves across the image. |
| Fade | Off | Bars fade from the middle line to their ends instead of being solid. | |
| Seed | 0 | Another seed gives other random values per cell. |
Weave
Threads across and down passing over and under each other: cloth, wicker, mesh.
Inputs: none · Outputs: Pattern (gray), Cell Random (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Style | Plain | How the threads cross. Choices: Plain: Over one and under one, each thread rising and dipping smoothly from cell to cell; Twill: Over two and under two, each row one thread on, as the source application's weave generator draws it: flat threads, each stretch on top domed along its length by Shape (from 1 to a half where it passes under), a half where a thread shows beneath another, 0 where neither lies. | |
| Count | 8 | 2 to 512 | Threads across the image; an even number for Plain and a multiple of four for Twill (others round up) so over and under repeat. |
| Count Down | 0 | 0 to 512 | Threads down the image; 0 as many as across. |
| Width | 0.8 | 0.05 to 1 | A thread's width as a fraction of the spacing: 1 leaves no gaps. |
| Width Across | 0 | 0 to 1 | Twill: the across threads' width (the down threads take Width); 0 the same as Width. |
| Shape | 0.5 | 0 to 1 | Twill: how much of each stretch on top is domed, from its ends in (0 flat, 1 all of it). |
| Height Variation | 0.2 | 0 to 1 | Plain: how much lower some threads lie: 0 all the same, 1 down to nothing. |
| Seed | 0 | Another seed gives other random values per cell. |
Shapes
One shape in the middle of the texture, for stamps, masks and the Tile Sampler.
SVG
An SVG document's shapes drawn over a background colour or the Background input, as the source application's SVG node draws them (see FDSurfaceSvgDraw.h): crisp texels, no antialiasing, the document's width and height filling the image. Gray is the mean of red, green and blue.
Inputs: Background (gray or colour, optional) · Outputs: Color (colour), Gray (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Document | empty | The SVG document as text; an imported SVG node keeps its document here. Empty reads File. | |
| File | () | An SVG file, read when Document is empty; one inside the project is kept relative to it. | |
| Background Color | R 0, G 0, B 0, A 0 | The colour around the shapes, when nothing is wired into Background; clear by default. |
Shape
A shape in the middle of the texture: a disc, square, polygon, star or ring, or a dome, bell or cone of height, stretched, turned and repeated as set. Its edges stay smooth at every size.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Form | Disc | The shape drawn. Choices: Disc: A filled circle; Square: A filled square; Polygon: A regular polygon with Sides sides, pointing up; Star: A star with Sides points, pointing up; Inner sets how full it is; Ring: A ring; Inner sets the hole, as a share of Radius; Paraboloid: A dome: 1 at the middle, falling smoothly to 0 at the radius. A height; Bell: A soft bump with gently fading sides. A height; Cone: A cone: 1 at the middle, falling in a straight line to 0 at the radius. A height; Gaussian: A gaussian spot: 1 at the middle, half at about a quarter of the radius, near 0 by two thirds. A height; Pyramid: A square pyramid: 1 at the middle, falling in straight lines to 0 at the square's edges. A height; Gradation: A ramp across the square, 0 at its left edge to 1 at its right. | |
| Radius | 0.25 | 0.001 to 16 | Half the shape's width, in UV; past 0.5 the shape runs off the texture (a polygon's Gradient then falls only a little across it). |
| Sides | 5 | 3 to 16 | Sides of the polygon, points of the star. |
| Inner | 0.5 | 0 to 1 | Star: how full the points are, 0 sharpest to 1 a plain polygon. Ring: the hole's radius as a share of Radius. |
| Softness | 0 | 0 to 0.5 | Extra edge width in UV. |
| Stretch | X 1, Y 1 | 0.001 to 10 | How far the shape is stretched across and down: (1, 0.5) is twice as wide as tall. |
| Angle | 0 | -1 to 1 | Turns the shape about its middle, in turns. |
| Tiling | 1 | 1 to 16 | Copies across and down: 2 draws four, each in its own quarter, sized to it. |
| Tile from Centre | Off | The copies spread out from the texture's middle rather than its corner, so an even count puts copies' meeting point at the middle (as the source application's shapes tile). | |
| Copies Across | On | With Tiling above 1, the shape's copies across the image. Off: only the middle copy along that axis is drawn (the one just before the middle for an even count), for a shape that repeats down but not across. | |
| Copies Down | On | With Tiling above 1, the shape's copies down the image. Off: only the middle copy along that axis is drawn (the one just before the middle for an even count), for a shape that repeats across but not down. | |
| Power | 1 | 0.05 to 16 | Raises the shape's values to this power: above 1 narrows a dome or cone's top (a paraboloid to the 4th is a bell, a cone to the 4th a thorn), below 1 widens it (a paraboloid to 0.5 is a hemisphere). |
| Curve | 0 | -1 to 1 | Polygon: bows its edges, out toward a circle (about 0.8 reaches it) or in toward a star (below 0); 0 straight. |
| Gradient | 0 | 0 to 1 | Polygon: a ramp inside it, white at the middle falling to black at its edges, this share of the way in from the edges (1 all the way, a pyramid; 0 a solid polygon). |
| Invert Gradient | Off | Polygon: the ramp the other way, black at the middle rising to white at the edges. | |
| Edge Softness | 0 | 0 to 1 | Square: its edges ease in, across and down, over this share of the way from each edge to the middle (0 a crisp square, 1 all the way: a soft pillow). |
| Ridged | Off | Paraboloid: carved to a ridge down the middle, falling as (1 - the distance across over the radius)^2 to either side. | |
| Right Width | 1 | 0 to 1 | Paraboloid: its right half's width as a share of the left's (with Power 4, a half bell); 1 the same, 0 none. |
Text
Text drawn over a background colour or the Background input: lettering for plates, signs, stamps and labels. Lines are stacked about the position (a blank line moves the others), each aligned on it. The colour and gray outputs give the same picture.
Inputs: Background (gray or colour, optional) · Outputs: Color (colour), Gray (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Text | Text | The words drawn; each new line starts a line below the last. | |
| Font | none | The font; none uses the engine's Roboto. | |
| Size | 0.1 | 0.005 to 1 | The height of a line, as a fraction of the image's height. |
| Position | X 0.5, Y 0.5 | Where the text sits, in UV: the middle of its lines down, and its alignment's point across. | |
| Alignment | Center | How each line sits on the position across. Choices: Left: Each line starts at the position; Center: Each line is centred on the position; Right: Each line ends at the position. | |
| Transform | X 1, Y 0, Z 0, W 1 | The text's turn and stretch about its position, as a 2x2 matrix (across X, across Y, down X, down Y): 1, 0, 0, 1 leaves it upright. | |
| Text Color | R 1, G 1, B 1, A 1 | The text's colour. | |
| Background Color | R 0, G 0, B 0, A 1 | The colour around the text, when nothing is wired into Background. |
Adjust
Change an image's values: contrast and range, thresholds and steps, colour and tint.
Auto Levels
Stretches the image's own darkest value to black and brightest to white.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
No settings of its own.
Clamp
Holds values between Low and High.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Low | 0 | Values below this become this. | |
| High | 1 | Values above this become this. |
Color Equalizer
Evens out broad changes of brightness and colour across the image, keeping its fine detail: the image minus its blur over Radius, plus the image's own average. For photos lit unevenly.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Radius | 0.05 | 0.001 to 0.25 | The spread (sigma, in UV) of the changes evened out: changes broader than this go, finer ones stay. |
Color Match
Moves the image's colours so that their average is Target, keeping every difference between them: a texture recoloured to match another while its detail stays.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Target | R 0.5, G 0.5, B 0.5, A 1 | The colour the image's average becomes. |
Color Space
Converts between linear values, which Surface Studio works in, and values as an sRGB image stores them. Graphs imported from the source application work on the stored values, as the source application does, and pass their colour outputs through one of these on the way out.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Direction | sRGB to Linear | Which way the values are converted. Choices: sRGB to Linear: Values as an sRGB image stores them (as painting programs and the source application show them) made linear, as Surface Studio works; Linear to sRGB: Linear values made as an sRGB image stores them. |
Curve
Remaps values through a curve drawn in the details (0 to 1 across, 0 to 1 up; straight by default).
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Curve | a straight line, 0 to 1 | The curve every value goes through: the value across, the result up, 0 to 1 each way. A straight line leaves the image as it is. | |
| Repeat | Off | Values past 0 to 1 come round again (1.25 reads the curve at 0.25) instead of being held at its ends. | |
| Channel Curves | Off | A colour image's red, green and blue each go through a curve of their own before Curve, and its alpha through Alpha Curve. A gray image takes Curve alone. | |
| Red Curve | a straight line, 0 to 1 | Red's own curve, before Curve. With no points it leaves red as it is. | |
| Green Curve | a straight line, 0 to 1 | Green's own curve, before Curve. With no points it leaves green as it is. | |
| Blue Curve | a straight line, 0 to 1 | Blue's own curve, before Curve. With no points it leaves blue as it is. | |
| Alpha Curve | a straight line, 0 to 1 | Alpha's curve (Curve leaves alpha as it is). With no points it leaves alpha as it is. |
Gradient Dynamic
Maps the gray through a gradient taken from an image: black takes the colour at one end of a row (or column) of the Gradient input, white the other. Like Gradient Map, with the colours coming from the graph.
Inputs: Gradient (gray or colour), Gray (gray) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Orientation | Horizontal | Whether the gradient runs along a row of the Gradient input or down a column. Choices: Horizontal: Reads a row of the gradient image: the gray picks the place across; Vertical: Reads a column: the gray picks the place down. | |
| Position | 0 | 0 to 1 | Which row (or column) is read: 0 the top (or left), 1 the bottom (or right). Several gradients stacked in one image are picked between by this. |
| Repeat | Off | Grays past white or below black wrap round the gradient when on; held at its ends when off. |
Gradient Map
Colours a gray image along a gradient (black to white by default): the usual way to tint masks and heights.
Inputs: In (gray) · Outputs: Out (colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Gradient | black to white | The colours the gray is mapped to: black takes the colour at the left end, white the colour at the right. | |
| Repeat | Off | Grays past 0 to 1 come round again (1.25 takes the colour at 0.25) instead of being held at the ends. |
HSL
Shifts a colour's hue and changes its saturation and lightness.
Inputs: In (colour) · Outputs: Out (colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Hue | 0 | -1 to 1 | Turns of the colour wheel (0.5 is the opposite hue). |
| Saturation | 0 | -1 to 1 | Added to the colour's saturation: -1 takes all colour out (gray), 1 makes it as strong as it goes. |
| Lightness | 0 | -1 to 1 | Added to the colour's lightness: -1 makes it black, 1 white. |
High Pass
The image's fine detail: the image minus its blur, plus a half. Flat areas come out mid-gray and edges light on one side and dark on the other: for detail masks, wear and sharpening by hand.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Radius | 0.02 | 0 to 0.25 | The spread (sigma, in UV) of the blur taken away: detail finer than this is kept. |
Histogram Range
Squeezes the whole range into Range wide around Position.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Range | 0.5 | 0 to 1 | How wide a band of values the whole image is squeezed into (1 keeps the full range). |
| Position | 0.5 | 0 to 1 | The middle of that band. |
| Keep Inside | Off | Narrows the band about Position where it would pass black or white, so it stays between them, as the source application's does (a band of 1 at 0.8 runs from 0.6 to 1). Off, the band keeps its width and may pass them. |
Histogram Scan
Reveals the bright parts of a gray image first as Position rises; Contrast sharpens the edge between black and white. The workhorse for making masks from noise.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Position | 0.5 | 0 to 1 | How much of the image turns white: raise it and more turns white, the brightest parts first. |
| Contrast | 0.5 | 0 to 1 | How sharp the edge between black and white is: 0 a soft ramp, 1 a hard edge. |
| Narrow at Ends | Off | The ramp narrows toward either end: 2 x the nearer of Position and 1 - Position wide, times 1 - Contrast, held inside black to white (at the ends it starts or stops there). |
Histogram Select
Picks a band of the image's values: white where a value lies within half of Range from Position, falling to black past it, more steeply the higher Contrast.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Position | 0.5 | 0 to 1 | The middle of the band picked. |
| Range | 0.25 | 0 to 1 | The band's width. |
| Contrast | 1 | 0.01 to 10 | How sharply the band's edges fall to black: 1 over a tenth of the values, lower more gently. |
Histogram Shift
Moves every value up by Shift, those carried past white coming round again from black: a gradient becomes a gradient that restarts partway.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Shift | 0.5 | 0 to 1 | How far values move up (1 brings them all the way round, as they were). |
Invert
One minus the value (colour keeps its alpha).
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Invert | On | Off hands the input on unchanged (for an expression to switch it). |
Levels
Sets which value becomes black and which white (the input range), bends the middle (Gamma) and gives the result's range (the output range): the usual way to add contrast or brighten. Per channel for colour (X serves gray).
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Input Low | X 0, Y 0, Z 0, W 0 | The value that becomes Output Low (black by default). X is used for gray; X, Y, Z and W for red, green, blue and alpha. | |
| Input High | X 1, Y 1, Z 1, W 1 | The value that becomes Output High (white by default). X is used for gray; X, Y, Z and W for red, green, blue and alpha. | |
| Gamma | X 1, Y 1, Z 1, W 1 | Above 1 brightens the middle, below 1 darkens it. | |
| Output Low | X 0, Y 0, Z 0, W 0 | What Input Low becomes. Set it above Output High to turn the image over. | |
| Output High | X 1, Y 1, Z 1, W 1 | What Input High becomes. | |
| Clamp Input | On | Values past the input range are held at its ends, so the result stays within the output range. Off, they carry on past it (the source application's clampinterm off). |
Quantize
Steps instead of a smooth range: Levels steps from black to white, each step's edge antialiased.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Levels | 4 | 2 to 256 | How many flat steps the range is cut into. |
Sharpen
Steepens the image's edges: the image plus Amount times its difference from its blur.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Amount | 1 | 0 to 10 | How much the edges are steepened: 0 leaves the image as it is. |
| Radius | 0.004 | 0 to 0.05 | The spread (sigma, in UV) of the blur the image is sharpened against: wider steepens broader edges. |
| Texel Kernel | Off | Sharpens against the four neighbouring texels instead of a blur: the image plus Amount times four times itself less its neighbours, as the source application's sharpen does. Radius is then unused. Imported .sbs graphs use it. |
Threshold
White where the value reaches Threshold, black below; the edge antialiased so it holds at every size.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Threshold | 0.5 | 0 to 1 | The value from which the result is white; below it, black. |
Channels
Take colour images apart into gray ones, put them together, and rearrange their channels.
Channel Select
One channel of a colour image as a gray image.
Inputs: In (colour) · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Channel | Red | The channel taken as the gray result. Choices: Red; Green; Blue; Alpha; Zero; One; In 2 Red: Shuffle's second input's channels; In 2 Green; In 2 Blue; In 2 Alpha. |
Grayscale
A colour image as gray, by how bright each channel counts (Rec. 709 luminance by default).
Inputs: In (colour) · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Weights | R 0.2126, G 0.7152, B 0.0722, A 0 | How much red, green and blue each count towards the gray. The default weighs them by how bright each looks to the eye (Rec. 709). | |
| Weigh Alpha | Off | Alpha counts toward the gray by the weights' alpha too, as the source application's grayscale conversion weighs it. | |
| Alpha Over Matte | Off | The gray is laid over Matte Level by the input's alpha, as the source application's grayscale conversion does with its alpha switch on: where the input is transparent, the matte shows. | |
| Matte Level | 1 | 0 to 1 | The gray a transparent input gives, with Alpha Over Matte. |
Merge
Four gray images as one colour image (alpha is one when not wired).
Inputs: R (gray, optional), G (gray, optional), B (gray, optional), A (gray, optional) · Outputs: Out (colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Unwired Alpha Zero | Off | Alpha is 0 when A is not wired, as the source application's RGBA merge gives, instead of 1. Imported .sbs graphs use it. |
Shuffle
Rearranges a colour image's channels, or takes channels from two images. A gray input gives its value in all four channels; In 2's channels are 0 when it is not wired.
Inputs: In (gray or colour), In 2 (gray or colour, optional) · Outputs: Out (colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Red | Red | Where the result's red comes from: one of In's or In 2's channels, or 0 or 1. Choices: Red; Green; Blue; Alpha; Zero; One; In 2 Red: Shuffle's second input's channels; In 2 Green; In 2 Blue; In 2 Alpha. | |
| Green | Green | Where the result's green comes from: one of In's or In 2's channels, or 0 or 1. Choices: Red; Green; Blue; Alpha; Zero; One; In 2 Red: Shuffle's second input's channels; In 2 Green; In 2 Blue; In 2 Alpha. | |
| Blue | Blue | Where the result's blue comes from: one of In's or In 2's channels, or 0 or 1. Choices: Red; Green; Blue; Alpha; Zero; One; In 2 Red: Shuffle's second input's channels; In 2 Green; In 2 Blue; In 2 Alpha. | |
| Alpha | Alpha | Where the result's alpha comes from: one of In's or In 2's channels, or 0 or 1. Choices: Red; Green; Blue; Alpha; Zero; One; In 2 Red: Shuffle's second input's channels; In 2 Green; In 2 Blue; In 2 Alpha. |
Split
A colour image's four channels as four gray images.
Inputs: In (colour) · Outputs: R (gray), G (gray), B (gray), A (gray)
No settings of its own.
Blend
Combine two images, or two heights.
Blend
Combines two images, A and B, by a blend mode, laid over A by Opacity and an optional mask. A and B must both be gray or both colour.
Inputs: A (gray or colour), B (gray or colour), Mask (gray, optional) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Mode | Multiply | How B is combined with A. Choices: Copy: B replaces A; Add: A plus B: brightens. Not held to 0..1, so values can rise above 1; Subtract: A minus B: darkens. Not held to 0..1, so values can fall below 0; Multiply: A times B: darkens. White in B leaves A as it is, black makes black; Divide: A divided by B: brightens. Held to 0..1; Screen: The opposite of Multiply: brightens. Black in B leaves A as it is, white makes white; Overlay: Multiply where A is dark, Screen where A is light: more contrast, A's lights and darks kept; Soft Light: A gentler Overlay: B lightens or darkens A softly; Hard Light: Overlay decided by B instead of A: Multiply where B is dark, Screen where B is light; Darken: The darker of A and B; Lighten: The lighter of A and B; Difference: How far apart A and B are: black where they are equal; Dodge: Brightens A by B, strongly towards white. Held to 0..1; Burn: Darkens A by B, strongly towards black. Held to 0..1; Add Sub: B above mid gray adds to A, below mid gray takes away: mid gray leaves A as it is; Switch: B where the mask is at least a half, A elsewhere: a hard switch, ignoring Opacity. | |
| Opacity | 1 | 0 to 1 | How much of the blended result covers A, times the mask. |
| Keep A's Alpha | Off | The result keeps A's alpha: only the colour is blended (colour inputs). | |
| Clamp | Off | The result is held between 0 and 1. | |
| Lay B Over A | Off | Colour: B is laid over A by its alpha, as the source application's blend does: B's alpha weighs the blend, the result's alpha is B's over A's, and an unconnected input is transparent, so a blend without B leaves A as it is. | |
| Black Divisor White | Off | Divide: an exact black in B gives white, whatever A is (black over black too), as the source application's divide does. | |
| Soft Light by Square Root | Off | Soft Light: where B is above a half, A lightens toward its square root, as image editors' soft light does (and the source application's), instead of the gentler curve. | |
| Mask Rectangle | X 0, Y 1, Z 0, W 1 | Where the blend happens: left, right, top and bottom, 0 to 1 across and down. Outside it the result is A. The whole image by default. |
Height Blend
Lays one height over another: the top shows where it stands higher than the bottom. Height gives the result, Mask where the top shows (for blending colours and roughness the same way).
Inputs: Top (gray), Bottom (gray) · Outputs: Height (gray), Mask (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Rule | Offset | How the two heights are set against each other. Choices: Offset: The top raised by Offset, the mask's ramp centred where the two meet, the raised top shown; Balanced: Position below a half scales the top down toward 0, above it the bottom; the mask ramps up to where the top meets the bottom, over 1 - Contrast of height; Raise Top: As Balanced below a half; above it the top is lifted toward 1 instead. | |
| Offset | 0 | -1 to 1 | Offset rule: raises (or lowers) the top before comparing: more of it shows as this rises. |
| Position | 0.5 | 0 to 1 | Balanced and Raise Top rules: 0.5 compares the heights as they are; toward 1 more of the top shows, toward 0 more of the bottom. |
| Contrast | 0.9 | 0 to 1 | How sharply the top gives way to the bottom where they cross: 1 is a crisp line. |
| Opacity | 1 | 0 to 1 | Balanced and Raise Top rules: how much of the top shows at most (the mask times this). |
Blur and warp
Soften, smear and push images around. Every one wraps at the edges, so tiling holds.
Blur HQ
Blurs evenly in every direction: soft masks, glows, smoothed heights. Width is the spread, as a share of the texture's width, so the blur looks the same at every size; it wraps at the edges, so tiling holds.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Width | 0.01 | 0 to 0.25 | The Gaussian's spread (sigma) in UV; with Box, how far the square reaches either side (whole texels, at least one). |
| Quality | Medium | Taps either side per pass: 16, 32 or 64 (Gaussian). Choices: Low: 16 samples each side before a wide blur works on a smaller copy: the fastest; Medium: 32 samples each side; High: 64 samples each side: the most exact. | |
| Shape | Gaussian | The blur's shape: a Gaussian, or an even average over a square. Choices: Gaussian: A Gaussian: soft, without edges; Box: An even average over a square: harder, as the source application's plain Blur draws. | |
| Exact Reach | Off | With Box, the square reaches exactly Width either side of each texel's centre, the texels at its ends counted for the part of them it covers, instead of whole texels. Imported .sbs graphs use it. | |
| Tiling | Across and Down | With Box, which ways the image repeats as it is read: along a way it does not, reads past the edge hold at the edge texel, as the source application blurs an image that does not tile. Choices: Across and Down: Repeats across and down; Across: Repeats across only; Matte shows above and below; Down: Repeats down only; Matte shows left and right; No Tiling: Does not repeat: Matte shows past every edge. |
Directional Blur
Blurs along one direction only: motion, brushed metal, streaks.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Intensity | 0.01 | 0 to 1 | The blur's spread (sigma) in UV. |
| Angle | 0 | -360 to 360 | The direction, in degrees clockwise from across. |
| Across | 0 | 0 to 1 | The spread across the direction, as a share of the spread along it: 0 a line, 1 as wide as long (round). |
| Even | Off | An even smear, as a camera's motion blur: every texel along it alike, out to Intensity (UV) each way, instead of fading as a Gaussian of that spread. |
Directional Warp
Pushes the image in one direction, as far as the Intensity Map is bright. A wired Angle Map turns the direction texel by texel; more Directions push it several ways at once, spread evenly round, and combine the results.
Inputs: In (gray or colour), Intensity Map (gray), Angle Map (gray, optional) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Intensity | 0.05 | -64 to 64 | How far white moves the image, in UV (beyond 1 it wraps round more than once; negative moves it back). |
| Angle | 0 | -360 to 360 | The direction, in degrees clockwise from across. |
| Angle Map Amount | 1 | -4 to 4 | How far white in the Angle Map turns the direction, in turns. |
| Map Offset | 0 | -1 to 1 | The Intensity Map's value that pushes not at all: brighter pushes as far as it is above it, darker pushes back the other way. |
| Nearest | Off | Reads the image's nearest texel instead of blending the four round it: hard-edged, blocky moves. | |
| Directions | 1 | 1 to 8 | How many ways the image is pushed, spread evenly round from Angle. |
| Combine | Max | How the pushes combine, with more than one direction. Choices: Max: The brightest of the pushes; Min: The darkest of the pushes; Average: Their average; Screen: Screened together: brighter than any one alone; Chain: One after another: each push carries on from where the last led, and the image is read once at the end; Add: Added together, clamped at white. | |
| Spread Full Turn | Off | With more than one direction along the slope: spread them over a whole turn instead of half of one (along the slope over a reach, a direction and its opposite look different ways). | |
| Chain in Stages | Off | Chained: each direction warps the last one's result (the image read again after each, a little softer), the directions taken farthest apart first (with four, the first, the third, the second, then the fourth; a count that is not a power of two in order), as the source application's multi-directional warp chains them. The .sbs import turns it on. | |
| Along Slope | Off | Pushes by how steeply the Intensity Map rises along each direction (either way) instead of by its brightness, moving the image uphill: Intensity is then UV per unit of slope across the image, and the directions spread over half a turn. A flat map leaves the image still. Imported multi-directional warps use it. | |
| Rise Reach | 0 | 0 to 4 | Along Slope: measures the Intensity Map's rise over this distance along each direction (UV, times the root of the map's brightness at the texel) instead of at the texel, and pushes by it times that root too (Intensity then UV per unit of root brightness times rise): the image gathers toward the map's bright plateaus and stops short of them. 0 the slope at the texel. |
| Reach by Brightness | Off | Over a Rise Reach: the reach is times the map's brightness at the texel itself (not its root) and the push is Intensity times the rise alone, so a step in the map pushes the same whatever its level and reaches farther from bright ground (as the source application's multi-directional warp moves). | |
| Trail | None | A trail behind the pushed image, back toward where it came from: none, the brightest along it (fading toward its tail by Trail Fade), or the average along it. One direction only. Choices: None: No trail: the image is only moved; Brightest: The brightest along the trail, faded toward its tail; Average: The average along the trail; Darkest: The darkest along the trail, fading toward white toward its tail (slowly at first, most near the tail). | |
| Trail Length | 1 | 0 to 1 | How long the trail is, as a share of the push: 1 reaches all the way back. |
| Trail Fade | 1 | 0 to 1 | How far the brightest trail fades toward its tail: 0 not at all, 1 to nothing. |
| Trail Curve | 0 | -1 to 1 | How the brightest trail's fade bows: 0 straight, toward 1 it holds bright far down the trail and drops near its tail (at 1 a quarter circle), toward -1 it drops soon after the head. |
| Tiling | Across and Down | Which ways the image repeats as it is read: along a way it does not, reads past the edge hold at the edge texel, as the source application's directional warp reads an image that does not tile. Choices: Across and Down: Repeats across and down; Across: Repeats across only; Matte shows above and below; Down: Repeats down only; Matte shows left and right; No Tiling: Does not repeat: Matte shows past every edge. |
Non-uniform Blur
Blurs more where the Mask is brighter: sharp where it is black, Intensity's blur where it is white.
Inputs: In (gray or colour), Mask (gray) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Intensity | 0.02 | 0 to 2 | The blur's spread (sigma) in UV where the mask is white. |
| Angle | 0 | -360 to 360 | The direction Anisotropy stretches and Asymmetry leans the blur along, in degrees clockwise from across. |
| Anisotropy | 0 | 0 to 1 | How far the blur stretches along Angle: 0 round, 1 a line. |
| Asymmetry | 0 | 0 to 1 | How far the blur leans to one side along Angle: 0 both ways, 1 that side only. |
| Passes | Off | Blurs in passes instead: each averages the texel with Blades reads round a ring Intensity (UV) times the mask wide, the ring shrinking and turning pass to pass, each pass reading the last. Where the mask is black a texel keeps its value through every pass, so bright detail there spreads into its neighbours instead of fading. Imported .sbs graphs use it. | |
| Samples | 4 | 1 to 64 | With Passes: how many passes. More blur further (the rings shrink over them) and cost more. |
| Blades | 5 | 1 to 32 | With Passes: the reads round each pass's ring, the first at Angle; the blur takes their shape (5 a pentagon). |
Polar Transform
Maps the image between straight and round: Cartesian to Polar turns rows into rings about the middle and columns into spokes; Polar to Cartesian undoes it.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Direction | Cartesian to Polar | Which way the image is mapped: straight to round, or round to straight. Choices: Cartesian to Polar: Straight to round: across becomes the angle about the middle, down the distance from it; Polar to Cartesian: Round to straight: the other way. |
Slope Blur
Smears the image along the slope of another: drips, erosion, flowing stains.
Inputs: In (gray or colour), Slope (gray) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Intensity | 0.02 | -0.25 to 0.25 | How far it follows the slope, in UV: positive goes uphill, negative downhill. |
| Samples | 16 | 1 to 64 | Steps along the way: more follows curving slopes more closely. |
| Mode | Blur | What is kept along the way: the average, the darkest or the brightest. Choices: Blur: The average along the way; Min: The darkest along the way; Max: The brightest along the way. | |
| Follow Steepness | Off | How far it goes grows with the slope's steepness, and flat ground stays put: Intensity is then UV per unit of steepness (the slope's height change across the whole texture). Imported .sbs graphs use it. | |
| Running Blend | Off | Reads only along the way, not the texel itself, each step pulling the result toward its read by one over the steps so far: Min and Max then only let that running average darken or lighten (the 26th step pulls either way), and at most 32 steps are taken, each Intensity / Samples long. Imported .sbs graphs use it. | |
| Slope from Before | Off | Reads the slope from each place along the way and the place a texel before it (left and above), as the source application's slope blur does, instead of from either side. Imported .sbs graphs use it. | |
| Stepwise | Off | With Running Blend: each step moves the last step's image on (read again at every step, so steps between texels soften a little), folded into the running result as before, as the source application's slope blur does. The .sbs import turns it on. |
Swirl
Twists the image about its middle: Amount turns at the centre, easing to none at Radius.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Amount | 0.5 | -4 to 4 | How far the centre turns, in turns: negative the other way. |
| Radius | 0.5 | 0.01 to 1 | How far from the middle the twist reaches, in UV (0.5 to the image's edges). |
Vector Warp
Pushes the image by a vector map: red across and green down, with mid-gray (0.5) meaning still.
Inputs: In (gray or colour), Vector (colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Intensity | 0.05 | -8 to 8 | How far a full red or green moves the image, in UV. |
| Squared | Off | The move grows with the vector's length squared (the vector times its length), as the source application's vector warp moves: a half-strength vector moves a quarter as far. | |
| Steps | 1 | 1 to 64 | Follows the vector map in this many steps, each reading the map where the last left off, so the image flows along its lines (1 a single move from each texel's own place). |
Warp
Pushes the image along the slope of the Gradient input: liquid, heat haze, organic distortion.
Inputs: In (gray or colour), Gradient (gray) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Intensity | 1 | -100 to 100 | 1 moves the image by 1% of its width where the gradient rises by one across the whole image; negative moves it the other way. |
| Steps | 1 | 1 to 64 | The move taken in this many shares, each reading the slope where the last left off: the image gathers toward the gradient's peaks into flat patches, as a mosaic (1 a single move). |
| Slope from Before | Off | Reads the slope from each texel and the one before it (left and above), as the source application's mosaic does, instead of from the neighbours either side. | |
| Nearest | Off | Reads the image's nearest texel instead of blending the four round it: hard-edged, blocky moves. | |
| Single Read | Off | One bilinear read where each texel's move points, instead of averaging over the stretch of image the texel covers there: sharper where the warp squeezes the image, as the source application's warp reads it. Imported .sbs graphs use it. | |
| Tiling | Across and Down | Which ways the image repeats as it is read: along a way it does not, reads past the edge hold at the edge texel, as the source application's warp reads an image that does not tile. Choices: Across and Down: Repeats across and down; Across: Repeats across only; Matte shows above and below; Down: Repeats down only; Matte shows left and right; No Tiling: Does not repeat: Matte shows past every edge. |
Transform
Move, turn, repeat and mirror images, and make any image tile.
Make It Tile
Makes any image tile: near the edges it blends in copies of itself moved half the image, so no edge shows. For photos and other images that were not made to repeat.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Blend Width | 0.2 | 0.02 to 0.5 | How far in from the edges the blend reaches, in UV. Wider hides stronger seams, narrower keeps more of the original untouched. |
| Sharpness | 0 | 0 to 1 | How sharply the blend turns over from the copies to the original: 0 gently across the whole width, 1 nearly at once in its middle. |
| Warp Across | 0 | -1 to 1 | How far the blend's edge near the left and right sides wavers, so it does not run straight; negative wavers the other way. |
| Warp Down | 0 | -1 to 1 | As Warp Across, for the blend's edge near the top and bottom. |
| Shift Half | Off | Moves the result half the image across and down: the original's edges, blended, then sit in the middle (as an imported photo Make It Tile draws it). | |
| Centre Patch | Off | Keeps the image as it is in a square in the middle, giving way toward the sides to the copy moved half across and down (easing in): Blend Width is how far in from the sides the change runs, Sharpness narrows it (1 a hard edge). Imported photo Make It Tiles use it. | |
| Separate Widths | Off | With Centre Patch: a run of its own for the top and bottom. | |
| Blend Width Down | 0.2 | 0.02 to 0.5 | With Centre Patch and Separate Widths: how far in from the top and bottom the change runs. |
Mirror
Flips its input, or mirrors half of it onto the other half. Flips keep a tiling image tiling; mirrored halves always tile, whatever the input, because the edges meet their own reflection.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Kind | Flip Across | How the image is flipped or mirrored. Choices: Flip Across: Flipped left to right; Flip Down: Flipped top to bottom; Mirror Across: The left half, and its mirror image on the right; Mirror Down: The top half, and its mirror image below; Mirror Both: The top-left quarter, mirrored into the other three. | |
| Keep Right | Off | Mirrors keep the right half instead of the left. | |
| Keep Bottom | Off | Mirrors keep the bottom half instead of the top. |
Quad Transform
Lays the image into any four-cornered shape: each corner placed in UV, the image stretched between them; outside the shape, black.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Top Left | X 0, Y 0 | Where the image's top left corner goes, in UV. | |
| Top Right | X 1, Y 0 | Where the image's top right corner goes, in UV. | |
| Bottom Left | X 0, Y 1 | Where the image's bottom left corner goes, in UV. | |
| Bottom Right | X 1, Y 1 | Where the image's bottom right corner goes, in UV. |
Rotate 90
Turns its input a quarter, a half or three quarters clockwise; it keeps a tiling image tiling.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Rotation | 90 degrees | How far the image turns, clockwise. Choices: 0 degrees; 90 degrees; 180 degrees; 270 degrees. |
Safe Transform
Moves, repeats and turns its input in the ways that keep a tiling image tiling: a whole number of repeats, quarter or eighth turns, and an offset that wraps around the edges.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Tile | 1 | 1 to 16 | How many times the input repeats across and down. |
| Rotation | 0 degrees | Clockwise, about the centre. Choices: 0 degrees; 90 degrees; 180 degrees; 270 degrees. | |
| Eighth | Off | Turns a further eighth (45 degrees), the image shrunk to 0.7071 of its size so it still tiles. | |
| Offset | X 0, Y 0 | In UV: 0.5 moves the image half its width right (or half its height down). It wraps, so 1 is the same as 0. | |
| Snap to Texels | On | Rounds the offset to whole texels, so every texel stays crisp. Off moves by the exact amount, softening the image slightly; a snapped offset can sit up to half a texel from the exact one, so it differs a little between sizes. |
Skew
Slants the image: each row moved across in proportion to how far it is from the pivot row.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Amount | 0.25 | -4 to 4 | How far a row moves across for each image height down from the pivot (negative the other way). |
| Pivot | 0.5 | 0 to 1 | The row that stays put: 0 the top, 0.5 the middle, 1 the bottom (with Columns, the column: 0 the left). |
| Columns | Off | Slants the columns instead: each moved down in proportion to how far it is across from the pivot column. |
Transform 2D
Moves, turns and scales its input about the centre, wrapping around the edges. A free angle or scale does not keep a tiling image tiling (Safe Transform does); 45 degrees with a scale of 0.7071, or whole-number scales, do.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Offset | X 0, Y 0 | In UV: 0.5 moves the image half its width right (or half its height down). | |
| Rotation | 0 | -360 to 360 | Degrees clockwise. |
| Scale | X 1, Y 1 | 0.01 to 100 | How large the image shows: 2 is twice as large, 0.5 half as large (repeated to fill). |
| Matrix | X 1, Y 0, Z 0, W 1 | A further matrix, for mirrors and skews: how far across (X, Y) and down (Z, W) the image is read for each step across and down the result, after the rotation and scale. (1, 0, 0, 1) leaves it as it is; (-1, 0, 0, 1) mirrors it left to right. | |
| Tiling | Across and Down | Which ways the image repeats past its edges; where it does not, Matte shows. Choices: Across and Down: Repeats across and down; Across: Repeats across only; Matte shows above and below; Down: Repeats down only; Matte shows left and right; No Tiling: Does not repeat: Matte shows past every edge. | |
| Matte | R 0, G 0, B 0, A 1 | What shows past an edge that does not repeat. | |
| Nearest | Off | Takes the nearest texel instead of blending the four around it: crisp pixels at any scale. | |
| Manual Mip | Off | Reads the image at Mip Level, once per texel, instead of averaging as much of it as each texel covers. | |
| Mip Level | 0 | 0 to 12 | With Manual Mip: 0 the image as it is (sharp, and grainy where it is shrunk), each level up the image averaged over twice as many texels each way (softer). |
Trapezoid
Narrows or widens the image row by row about its middle: a rectangle becomes a trapezoid, for perspective and tapering.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Top Width | 1 | 0.01 to 4 | The top row's width, as a share of the image's: below 1 narrower, above 1 wider. |
| Bottom Width | 1 | 0.01 to 4 | The bottom row's width, as a share of the image's. |
| Tile | Off | Rows repeat across past their ends when on; otherwise past their ends is black. |
Distance and fill
Work from shapes in a mask: distances, bevels, glows, outlines, and each separate shape (island) told apart.
Bevel
A height from shapes: each rises from its edge to full height Width in from it; outside the shapes, 0.
Inputs: Mask (gray) · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Width | 0.02 | 0.001 to 0.5 | How far in from the edge the slope reaches (UV); outward, how far out. |
| Outward | Off | Slopes outside the shape instead: the shape stays whole, and the slope falls from its edge to nothing at Width out, growing it. | |
| Smooth | Off | Eases the slope in at the edge and out at the top instead of a straight ramp. | |
| Smoothing | 0 | 0 to 0.1 | Blurs the bevel afterwards, rounding its edges and top: the blur's spread (sigma) in UV; 0 none. |
| Tiling | Across and Down | Which ways the shapes repeat: along a way they do not, the bevel does not reach round the edge to the shapes on the far side, as the source application's bevel of an image that does not tile. Choices: Across and Down: Repeats across and down; Across: Repeats across only; Matte shows above and below; Down: Repeats down only; Matte shows left and right; No Tiling: Does not repeat: Matte shows past every edge. |
Distance
How far each texel is from the nearest shape: 0 on the shapes, 1 at Max Distance or beyond. Nearest gives that shape texel's UV (red across, green down). Spread carries a wired Source out from each shape: the Source as it is at the nearest shape texel, out to Max Distance.
Inputs: Mask (gray), Source (gray or colour, optional) · Outputs: Distance (gray), Nearest (colour), Spread (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Max Distance | 0.1 | 0.001 to 64 | The distance (UV) that reads as white (past 1, the gradient stays short of white across the whole image). |
| Combine Distance | Off | Spread fades with the distance, to black at Max Distance; off, it keeps the Source's full value out to there. | |
| White at Shapes | Off | Distance the other way round: white on the shapes, fading to black at Max Distance from them. | |
| Source Beyond | Off | Beyond Max Distance from any shape, Spread is the Source itself (as the source application's distance spreads), not black. | |
| Fade Alpha | Off | Combine Distance fades only a colour Spread's alpha (to none at Max Distance and beyond), keeping its colour; a gray Spread still fades with the distance and is black beyond it. | |
| Measure | Round | How the way to the nearest shape is measured: straight (round), across plus down (diamonds) or the larger of the two (squares). Choices: Round: The straight way to the shape: distances spread out as circles; Diamond: Across plus down: distances spread out as diamonds; Square: The larger of across and down: distances spread out as squares. |
Edge Detect
A line along the edges of shapes: outlines, grooves between tiles, seams.
Inputs: Mask (gray) · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Width | 0.01 | 0.0005 to 0.25 | The line's width (UV), centred on the edge (with Value Jumps, out from the texels either side of each step, which are always on it: a hard line holding every texel whose centre lies within half the width of theirs). |
| Softness | 0 | 0 to 0.1 | How far the line's sides fade (UV); 0 is crisp. |
| Edges | Shapes | What counts as an edge. Choices: Shapes: The outlines of the mask's shapes (where it crosses a half); Value Changes: Wherever the value changes between neighbours by more than Tolerance: the borders between cells of different grays, such as a Distance node's Spread; Value Jumps: Wherever the value jumps, standing apart from a soft blur of the texels round it by more than Tolerance (a step's full size beside it): the borders between cells, however alike their grays, while smooth slopes and soft gradients make none. | |
| Tolerance | 0.01 | 0.0001 to 1 | With Value Changes: how much the value must change between neighbours to make an edge. With Value Jumps: the smallest step that makes one (small: 0.0004 finds steps of a 16-bit value's few steps). |
| Invert | Off | Black lines on white instead of white on black: the areas between the edges white, ready for Flood Fill. | |
| Roundness | 0 | 0 to 0.1 | With Value Changes or Value Jumps: rounds the corners of the areas between the lines, to this radius (UV); areas too small for it go (with Value Jumps, hard: an area stays where a texel's centre lies more than the radius from every line's). 0 leaves them as they are. |
Flood Fill
Finds the islands of a mask (shapes not touching each other; touching across the texture's edges counts) and gives every texel its place in its island's bounding box and the box's size: the input the Flood Fill "to" nodes read. Islands touching only at a corner are separate. An island wider than half the texture gets a box as wide as the texture. Works up to 4096.
Inputs: Mask (gray) · Outputs: Fill (colour)
No settings of its own.
Flood Fill to Bounding Box
Each island's bounding box size, in UV: red the width, green the height, blue the larger. For picking by size.
Inputs: Fill (colour) · Outputs: Out (colour)
No settings of its own.
Flood Fill to Color
One random colour per island. The values come from each island's texels, so another output size can pick others.
Inputs: Fill (colour) · Outputs: Out (colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Seed | 0 | Picks another set of random colours. |
Flood Fill to Gradient
A gradient across each island, 0 on one side to 1 on the other: directional wear, lighting, height slopes per tile.
Inputs: Fill (colour) · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Angle | 0 | -360 to 360 | The gradient's direction, degrees clockwise from across (0 rises left to right). |
| Angle Random | 0 | 0 to 1 | How far each island's gradient may turn either way, in turns (1 is any direction). |
| Seed | 0 | Picks other random turns for the islands' gradients. |
Flood Fill to Position
Each island's middle, in UV: red across, green down. For effects that change across the texture per island.
Inputs: Fill (colour) · Outputs: Out (colour)
No settings of its own.
Flood Fill to Random Gray
One random gray per island. The values come from each island's texels, so another output size can pick others.
Inputs: Fill (colour) · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Seed | 0 | Picks another set of random grays. |
Glow
A glow around shapes: 1 on them, fading outside to nothing at Width from their edge.
Inputs: Mask (gray) · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Width | 0.05 | 0.001 to 0.5 | How far the glow reaches (UV). |
| Falloff | 2 | 0.1 to 8 | How the glow fades: 1 is straight, higher fades faster near the shape, lower holds longer. |
Normal and height
Make normal maps from heights and back, combine them, and read curvature and occlusion from them.
AO from Height
Ambient occlusion from a height map: darkens where the surroundings rise above a texel, as in hollows and creases.
Inputs: Height (gray) · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Radius | 0.05 | 0.001 to 0.25 | How far around each texel it looks (UV). |
| Depth | 0.1 | 0 to 1 | How tall white stands, as a share of the texture's width (as Normal from Height's Intensity). |
| Strength | 1 | 0 to 2 | How dark the occlusion gets. |
| Directions | 8 | 1 to 32 | Directions it looks in: more is smoother and slower. |
| Steps | 8 | 4 to 32 | Steps it looks out along each direction: more finds narrower rises and is slower. |
| Slope Share | 0 | 0 to 1 | How much of the occlusion counts only what rises above the surface's own slope (out to Slope Radius) rather than above level: 1 leaves even slopes light and darkens only hollows and the foot of rises; 0 counts every rise. |
| Slope Radius | 0.05 | 0.0005 to 0.25 | How far around each texel the slope-relative occlusion looks (UV). |
| Levels | 0 | 0 to 12 | Looks out in a pyramid instead of Radius's even steps: one sample a texel out (at 1024), each further one twice as far and read from a coarser copy of the height, this many in all (10 reaches half the image); 0 the even steps. |
| Signed Horizons | Off | With Levels set: each direction counts its horizon above or below level, so where everything falls away it lightens (a slope's rise one way and fall the other cancel, even slopes stay light, tops stay white); the first sample is two texels out (at 1024) and the directions start along the image's width. The source application's HBAO measures this way; the .sbs import turns it on. |
Curvature from Normal
How a surface bends, from its normal map: mid-gray is flat, brighter bends outward (ridges, edges to wear), darker bends inward (creases, places dirt gathers).
Inputs: Normal (colour) · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Intensity | 1 | 0 to 10 | How strongly the curvature shows. |
| Open GL | Off | For normal maps in the OpenGL convention (green flipped). | |
| Scale | Fixed | How far apart the normals are read. Choices: Fixed: A fixed distance in UV: the same at every size; Texel: Neighbouring texels: the finest bends, sharper at larger sizes; All Scales: Every scale from texels to the whole image, added together: broad bends as well as fine ones, softly. |
Emboss
Lights the image as if pressed into relief by a height: slopes facing the light take on Highlight, slopes facing away take on Shadow, flat ground keeps the image as it is. A simple baked lighting, for stylised textures.
Inputs: In (gray or colour), Height (gray) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Intensity | 5 | 0 to 64 | How strongly the slopes are lit: at 1, a slope rising a full height over 1/256 of the image turns fully to Highlight or Shadow. |
| Angle | 0 | -360 to 360 | Where the light comes from, in degrees clockwise from across. |
| Highlight | R 1, G 1, B 1, A 1 | The colour slopes facing the light turn toward. | |
| Shadow | R 0, G 0, B 0, A 1 | The colour slopes facing away turn toward. | |
| Add Light | Off | Adds the light instead of turning toward the colours: slopes facing the light gain Highlight times their fall toward it (times Intensity, per 1/256 of the image), slopes facing away lose what Shadow lacks of white times their rise. Nothing is held, and the image's alpha is kept. | |
| Slope from Before | Off | Reads the slope from each texel and the one before it (left and above), as the source application's emboss does, instead of from either side. Imported .sbs graphs use it. |
Normal Combine
Lays a detail normal map over a base one.
Inputs: Base (colour), Detail (colour) · Outputs: Out (colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Mode | Reoriented | How the detail is laid on the base. Choices: Reoriented: The detail turned to follow the base's slopes (reoriented normal mapping): the most faithful; Whiteout: Slopes added, heights multiplied: fast and close; Linear: Slopes added: flattest, for subtle detail. |
Normal Invert
Flips a normal map's green (to swap between DirectX, which Unreal uses, and OpenGL) or red.
Inputs: In (colour) · Outputs: Out (colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Invert Red | Off | Flip the red (left and right) direction. | |
| Invert Green | On | Flip the green (up and down) direction: turns a DirectX normal map, as Unreal uses, into an OpenGL one, and back. |
Normal Normalize
Makes every normal one long again, after blends or edits that shortened them.
Inputs: In (colour) · Outputs: Out (colour)
No settings of its own.
Normal from Height
Normal from Height
Inputs: Height (gray), Islands (gray, optional) · Outputs: Normal (colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Intensity | 0.02 | 0 to 1 | How tall white stands, as a share of the texture's width: 0.02 makes white 2% as tall as the texture is wide. |
| Radius | 0.001 | 0 to 0.05 | How far apart the height is read, in UV; larger smooths the normals. At least one texel. |
| Flip Green | Off | Green up instead of down: the OpenGL convention some other tools use. | |
| Sampling | Sobel | How the slope is read. Choices: Sobel: Across three texels each way, weighted toward the middle: smooth; Backward: From each texel back to the one before it, across and down: sharp, half a texel off. | |
| Height in Alpha | Off | The result's alpha holds the height, as the source application's normal does by default, instead of being opaque. |
Normal to Height
The height a normal map stands for, stretched to 0..1 (the reverse of Normal from Height).
Inputs: Normal (colour) · Outputs: Height (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Open GL | Off | For normal maps in the OpenGL convention (green flipped). | |
| Compatible Response | Off | Works the height out as the source application's Normal to Height HQ does, as its results measure it: about 0.5 (not stretched), scaled by Intensity, the lowest frequencies weakened, each direction's height clipped. Power-of-two sizes only; others are solved as before. The .sbs import turns it on. | |
| Intensity | 1 | 0 to 4 | With Compatible Response on: the height's strength (the source application's Height Intensity). |
| Relief Balance | 0.5 | 0 to 1 | With Compatible Response on: the balance of broad relief (0) against fine detail (1). |
| Quality | 0 | 0 to 2 | With Compatible Response on: the source application's Sample Quality (0, or 1 and above, which draw alike). |
| Normalize | Off | With Compatible Response on: stretches the height to 0..1. |
Shadows
The shadows a height casts in a low light: white where lit, black where higher ground stands between a texel and the light. A step a full height tall casts its shadow Distance long.
Inputs: Height (gray) · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Angle | 0 | -360 to 360 | Where the light comes from, in degrees clockwise from across. |
| Distance | 0.1 | 0 to 1 | How long a full-height step's shadow is, in UV. |
| Samples | 16 | 1 to 64 | Steps taken toward the light: more catches thinner ridges. |
| Softness | 0 | 0 to 2 | How gently the shadow fades in where the ground only just blocks the light: 0 hard; 2 fades it along its whole length. |
| Spread | 0 | 0 to 1 | Spreads the light round from Angle, most from Angle itself: 0 one direction, 1 all the way round. Costs a pass of Samples steps for each of the directions it spreads over. |
| Averaged | Off | Shades by the ground standing above each texel toward the light: the average, over the steps the light's path takes before it rises past the top of the height range, of how far the ground there stands above the texel. Every rise toward the light shades a little and tall steps shade deeply; Softness has no part in it. |
Mesh
Read a mesh's baked maps: the Mesh Map node, and the Smart Mask nodes that make masks from them (chapters 7 and 8).
Cavity Dirt
Dirt in cavities and occluded corners, from Ambient Occlusion and Curvature (concave). A wired Mask limits it.
Inputs: Breakup (gray, optional), Ambient Occlusion (gray, optional), Curvature (gray, optional), Mask (gray, optional) · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Amount | 0.4 | 0 to 1 | How far the dirt spreads: 0 none, 1 everywhere it can reach. |
| Softness | 0.15 | 0 to 1 | How soft the dirt's edge is. |
| Cavity Mix | 0.5 | 0 to 1 | 0 follows occlusion only, 1 concave curvature only. |
| Breakup Strength | 0.5 | 0 to 2 | How far the Breakup input (a gray, 0.5 neutral) pushes the dirt's edge in and out. Layered: how much of the grunge (the Breakup input, or one of its own when it is not wired) is screened in. |
| Model | Blend | How the dirt is found from the maps. Choices: Blend: The occlusion and concavity mixed by Cavity Mix, then a soft step at Amount; Layered: The occlusion with concave curvature adding and convex edges taking away, a grunge screened in, then spread about Amount by Contrast: as an imported dirt generator works. | |
| Concave Weight | 0.5 | 0 to 4 | Layered: how much concave curvature adds (per unit below flat). |
| Convex Weight | 1 | 0 to 4 | Layered: how much convex curvature (edges) takes away (per unit above flat). |
| Contrast | 0.5 | 0 to 0.999 | Layered: how sharply the dirt goes from none to full about Amount: 0 a straight ramp, nearer 1 a step. |
| Grunge Scale | 11 | 1 to 256 | Layered: the size of its own grunge, in cells across its coarsest level (when Breakup is not wired). |
| Eased Mask | Off | A wired Mask eases in instead of scaling the result straight: a half gray keeps three quarters (1 - (1 - mask)^2). | |
| Unwired Occlusion Black | Off | An Ambient Occlusion neither wired nor baked reads black (fully occluded) instead of open, as the source application's dust, dirt and edge damages generators take one left unwired. |
Dust
Dust settling on surfaces that face up and gathering in occluded hollows, from World Normal and Ambient Occlusion. A wired Mask limits it.
Inputs: World Normal (colour, optional), Ambient Occlusion (gray, optional), Mask (gray, optional) · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Amount | 0.5 | 0 to 1 | How far the dust spreads: 0 none, 1 nearly everywhere. |
| Contrast | 0.5 | 0 to 0.999 | How sharply the dust goes from none to full: 0 a gentle ramp, nearer 1 a step. |
| Occlusion | 0.5 | 0 to 1 | How much the occluded hollows gather: 0 none, a half in proportion to the occlusion, 1 everywhere. |
| Up | Y up | Which way is up in the World Normal. Choices: Z up: Z is up, as in Unreal and in Surface Studio's own bakes; Y up: Y is up, as in some other tools' world-space normals. | |
| Noise | 0 | 0 to 1 | A fine grain dimming the dust texel by texel: 0 none, 1 down to about a half on average. |
| Eased Mask | Off | A wired Mask eases in instead of scaling the result straight: a half gray keeps three quarters (1 - (1 - mask)^2). | |
| Unwired Occlusion Black | Off | An Ambient Occlusion neither wired nor baked reads black (fully occluded) instead of open, as the source application's dust, dirt and edge damages generators take one left unwired. |
Edge Wear
Wear on convex edges, from Curvature: it spreads down from the sharpest edges as Amount rises. A wired Mask limits it.
Inputs: Breakup (gray, optional), Curvature (gray, optional), Mask (gray, optional), Ambient Occlusion (gray, optional) · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Amount | 0.35 | 0 to 1 | How far the wear spreads: 0 none, 1 over everything convex. |
| Softness | 0.1 | 0 to 1 | How soft the wear's edge is. |
| Breakup Strength | 0.5 | 0 to 2 | How far the Breakup input (a gray, 0.5 neutral) pushes the wear's edge in and out. |
| Model | Threshold | How the wear is found from the maps (Layered reads Ambient Occlusion as well). Choices: Threshold: A soft step on the convexity at Amount; Layered: The convexity (by Curvature Weight) past a threshold set by Amount, as steep as Contrast asks, kept off the occluded hollows by Occlusion Masking: as an imported edge damages generator works; Leveled: The convexity (by Curvature Weight, softened by Edges Smoothness), a grunge taken in, kept off the occluded hollows by Occlusion Masking, then levelled by Amount and sharpened by Contrast: as an imported metal edge wear generator works. | |
| Contrast | 0.5 | 0 to 0.999 | Layered and Leveled: how sharply the wear goes from none to full: 0 a gentle ramp, nearer 1 a step. |
| Curvature Weight | 1 | 0 to 4 | Layered and Leveled: how much the convexity counts. |
| Occlusion Masking | 0.5 | 0 to 1 | Layered and Leveled: how far the wear is kept off occluded hollows: 0 not at all, 1 everywhere. |
| Grunge | 0 | 0 to 2 | Layered and Leveled: how far a built-in grunge pushes the wear's edge in and out (the Breakup input instead, when wired). |
| Grunge Scale | 11 | 1 to 256 | Layered and Leveled: the built-in grunge's coarsest cells across the image (it holds detail from there to the texel). |
| Occlusion Shift | 0 | 0 to 2 | Layered: how far occlusion moves the wear off the edges: the curvature taken this much lower per unit of occlusion (1 - Ambient Occlusion). |
| Occlusion Cut | Off | Layered: Occlusion Masking as a hard cut instead of a fade: the wear kept only where Ambient Occlusion is above it. | |
| Variation Cut | 0 | 0 to 1 | Layered: the share of the wear hidden in patches, where the built-in grunge (the Breakup input when wired) is lowest: 0 none, 1 all. |
| Curvature Softness | 0 | 0 to 64 | Layered: the curvature softened first, a Gaussian this many texels wide at 1024 (wider as the image grows), so fine speckle wears away and only broader edges wear: 0 not at all. |
| Edges Smoothness | 0 | 0 to 64 | Leveled: how far the wear softens past the edges: the convexity mixed half and half with itself blurred, wider as this rises (0 none; 1 about 2.6 texels at 1024, 16 about 35), so lone specks fade and long edges spread. |
| Eased Mask | Off | A wired Mask eases in instead of scaling the result straight: a half gray keeps three quarters (1 - (1 - mask)^2). | |
| Unwired Occlusion Black | Off | An Ambient Occlusion neither wired nor baked reads black (fully occluded) instead of open, as the source application's dust, dirt and edge damages generators take one left unwired. |
ID Mask
The texels of one ID colour (a material slot's), from ID.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Color | R 1, G 1, B 1, A 1 | The ID map's colour to pick (as stored in the map). | |
| Tolerance | 0.05 | 0.001 to 1 | How far from Color a texel may be and still count. |
| Eased Mask | Off | A wired Mask eases in instead of scaling the result straight: a half gray keeps three quarters (1 - (1 - mask)^2). | |
| Unwired Occlusion Black | Off | An Ambient Occlusion neither wired nor baked reads black (fully occluded) instead of open, as the source application's dust, dirt and edge damages generators take one left unwired. |
Leaks
Leaks: streaks running down from cavities (dark Ambient Occlusion, concave Curvature), fading over Length and stronger in some columns than others. Pins of those names stand in for the maps; a wired Mask limits it.
Inputs: Ambient Occlusion (gray, optional), Curvature (gray, optional), Mask (gray, optional) · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Amount | 0.5 | 0 to 1 | How much shows: 0 none, 1 every streak at full strength. |
| Softness | 0.2 | 0 to 1 | How soft the streaks' edges are. |
| Length | 0.2 | 0 to 1 | How far a streak runs down, in UV. |
| Variation | 0.5 | 0 to 1 | How much the streaks' strength varies from column to column. |
| Eased Mask | Off | A wired Mask eases in instead of scaling the result straight: a half gray keeps three quarters (1 - (1 - mask)^2). | |
| Unwired Occlusion Black | Off | An Ambient Occlusion neither wired nor baked reads black (fully occluded) instead of open, as the source application's dust, dirt and edge damages generators take one left unwired. |
Mask Builder
A mask mixed from a mesh's maps: occlusion, convex and concave curvature, and the faces turned up or to one side, each by its own amount (negative takes away), pushed about by a grunge, then cut to a band by Level and Contrast. A map not wired reads as neutral: open, flat, facing up. A wired Mask limits the result.
Inputs: Ambient Occlusion (gray, optional), Curvature (gray, optional), World Normal (colour, optional), Grunge (gray, optional), Mask (gray, optional) · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Occlusion Amount | 0 | -2 to 2 | How much occlusion (1 less the Ambient Occlusion) adds. |
| Convex Amount | 1 | -2 to 2 | How much convex curvature (above mid-gray) adds. |
| Concave Amount | 0 | -2 to 2 | How much concave curvature (below mid-gray) adds. |
| Top Amount | 0 | -2 to 2 | How much faces turned up add (from the World Normal). |
| Side Amount | 0 | -2 to 2 | How much faces turned to the side (along X) add. |
| Grunge Amount | 0 | 0 to 2 | How far the Grunge pushes the mix up and down about its mid-gray. |
| Level | 0.5 | 0 to 1 | Where the band starts: higher takes in more of the mix. |
| Contrast | 0.5 | 0 to 1 | How sharp the band's edge is: 0 the mix as it is, 1 a hard step. |
| Model | Additive | How the maps are mixed and cut. Choices: Additive: Each map by its amount, summed, then cut to a band; Leveled: The curvature levelled by its amounts (an amount of 0.5 stretches convexity to the full range, toward 1 a hard step at flat), the occlusion by its amount, summed, then levelled about Level and sharpened about mid-gray by Contrast. | |
| Curvature Contrast | 0 | 0 to 0.999 | Leveled: how sharp the curvature's own edge is about mid-gray, before the mix. |
| Curvature Scale | 1 | 0 to 2 | Leveled: how much of the curvature goes into the mix. |
| Negative Takes Away | Off | Leveled: a negative Convex or Concave Amount takes that side away from the mix (levelled by the amount's size) instead of leaving it out, as the source application's mask builder does. The .sbs import turns it on. | |
| Invert | Off | The result turned over: white where it was black. |
Mesh Map
A map baked in a Bake Set, resampled to the graph's size as the Texture node resamples: Normal, World Normal, Position and ID come out as colour, the others as gray. Without a Bake Set it reads the context's mesh maps (a Paint Project's, or the graph's Preview Bake Set), so the graph works on any mesh. A map not baked is a problem.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Bake Set | none | Empty reads the context's mesh maps. | |
| Map | Ambient Occlusion | Which of the Bake Set's maps to read. Choices: Normal: Tangent-space normal of the high mesh on the low mesh's frames; World Normal: The mesh's normal in its own space, as Normal * 0.5 + 0.5; Position: The surface point in the mesh's bounds, 0 at the minimum corner and 1 at the maximum, per axis; Ambient Occlusion: How open the surface is to the sky above it: 1 open, darker where nearby geometry hides it; Curvature: Mean curvature: 0.5 flat, brighter convex, darker concave, scaled to the mesh's own range; Thickness: The mesh's depth behind the surface (rays along the inverted normal): low where thin, 1 at the Thickness distance and beyond; Height: The high surface's distance from the low one along the low normal: 0 at the cage's back, 1 at its front; ID: Material slot, flattened to a colour per slot; UV Islands: A gray per UV island: island k of N is (k + 1) / N; outside every island 0. |
Position Gradient
A gradient along the mesh, from Position: 0 at its low end of the axis, 1 at its high end.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Axis | Z | Z is up in Unreal. Choices: X; Y; Z. | |
| Offset | 0.5 | 0 to 1 | Where along the mesh the gradient is half way, 0 its low end, 1 its high end. |
| Softness | 0.25 | 0 to 1 | How wide the gradient is on each side of Offset. |
| Invert | Off | Turn the gradient over: 1 at the low end, 0 at the high end. | |
| Eased Mask | Off | A wired Mask eases in instead of scaling the result straight: a half gray keeps three quarters (1 - (1 - mask)^2). | |
| Unwired Occlusion Black | Off | An Ambient Occlusion neither wired nor baked reads black (fully occluded) instead of open, as the source application's dust, dirt and edge damages generators take one left unwired. |
Sun Bleach
Sun Bleach
Inputs: World Normal (colour, optional), Ambient Occlusion (gray, optional), Mask (gray, optional) · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Amount | 0.5 | 0 to 1 | How far the bleaching spreads: 0 none, 1 over everything facing up at all. |
| Softness | 0.2 | 0 to 1 | How soft the bleaching's edge is. |
| Up | Z up | Which way is up in the World Normal. Choices: Z up: Z is up, as in Unreal and in Surface Studio's own bakes; Y up: Y is up, as in some other tools' world-space normals. | |
| Leveled | Off | Levelled as the source application's sun bleach generator works: the facing up times the open sky (by Occlusion), levelled by Amount and sharpened by Contrast, in place of the soft step. | |
| Contrast | 0 | 0 to 0.999 | Leveled: how sharply the bleaching goes from none to full: 0 a gentle ramp, nearer 1 a step. |
| Occlusion | 0.5 | 0 to 1 | Leveled: how far occluded hollows are kept clear: 0 not at all, a half by the occlusion itself, 1 everywhere. |
| Eased Mask | Off | A wired Mask eases in instead of scaling the result straight: a half gray keeps three quarters (1 - (1 - mask)^2). | |
| Unwired Occlusion Black | Off | An Ambient Occlusion neither wired nor baked reads black (fully occluded) instead of open, as the source application's dust, dirt and edge damages generators take one left unwired. |
Thickness Mask
Thin against thick, from Thickness: Low maps to 0 and High to 1.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Low | 0 | 0 to 1 | The thickness that becomes black. |
| High | 1 | 0 to 1 | The thickness that becomes white. |
| Invert | Off | Thin parts white instead of thick ones. | |
| Eased Mask | Off | A wired Mask eases in instead of scaling the result straight: a half gray keeps three quarters (1 - (1 - mask)^2). | |
| Unwired Occlusion Black | Off | An Ambient Occlusion neither wired nor baked reads black (fully occluded) instead of open, as the source application's dust, dirt and edge damages generators take one left unwired. |
Material
Whole materials on one wire: make, split, blend and output them (chapter 5).
Base Material
A plain material: each channel one value.
Inputs: none · Outputs: Base Color (colour), Normal (colour), Roughness (gray), Metallic (gray), Height (gray), Ambient Occlusion (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Base Color | R 0.5, G 0.5, B 0.5, A 1 | The colour all over. | |
| Roughness | 0.5 | 0 to 1 | How rough it is all over: 0 a mirror, 1 fully matte. |
| Metallic | 0 | 0 to 1 | How metallic it is all over. |
| Height | 0.5 | 0 to 1 | Its height all over. |
| Ambient Occlusion | 1 | 0 to 1 | Its ambient occlusion all over (1 open). |
Make Material
Bundles channels into a Material: an input per channel; the Material carries the channels that are wired.
Inputs: Base Color (colour, optional), Normal (colour, optional), Roughness (gray, optional), Metallic (gray, optional), Height (gray, optional), Ambient Occlusion (gray, optional), Emissive (colour, optional), Opacity (gray, optional) · Outputs: Material (Material)
No settings of its own.
Material Blend
B over A, channel by channel, by Opacity times the mask: colour and gray channels by the blend mode, Normal by reoriented normal mapping (B's detail laid on A, then mixed from A in and renormalised), Height added (A plus B), so heights add up through a stack. The result carries A's channels and those of B's that are ticked; an unticked channel hands A on, and a channel only B has blends over its default. A left unwired carries no channels.
Inputs: A (Material, optional), B (Material), Mask (gray, optional) · Outputs: Material (Material)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Mode | Copy | How B's colour and gray channels meet A's (Normal and Height have their own rules). Choices: Copy: B replaces A; Add: A plus B: brightens. Not held to 0..1, so values can rise above 1; Subtract: A minus B: darkens. Not held to 0..1, so values can fall below 0; Multiply: A times B: darkens. White in B leaves A as it is, black makes black; Divide: A divided by B: brightens. Held to 0..1; Screen: The opposite of Multiply: brightens. Black in B leaves A as it is, white makes white; Overlay: Multiply where A is dark, Screen where A is light: more contrast, A's lights and darks kept; Soft Light: A gentler Overlay: B lightens or darkens A softly; Hard Light: Overlay decided by B instead of A: Multiply where B is dark, Screen where B is light; Darken: The darker of A and B; Lighten: The lighter of A and B; Difference: How far apart A and B are: black where they are equal; Dodge: Brightens A by B, strongly towards white. Held to 0..1; Burn: Darkens A by B, strongly towards black. Held to 0..1; Add Sub: B above mid gray adds to A, below mid gray takes away: mid gray leaves A as it is; Switch: B where the mask is at least a half, A elsewhere: a hard switch, ignoring Opacity. | |
| Opacity | 1 | 0 to 1 | How much of B covers A, times the mask. |
| Enabled | On | Off: hands A on untouched, and B and the mask are not evaluated at all (a hidden layer). | |
| Base Color | On | Blend Base Color. Unticked, A's passes through untouched. | |
| Normal | On | Blend Normal. Unticked, A's passes through untouched. | |
| Roughness | On | Blend Roughness. Unticked, A's passes through untouched. | |
| Metallic | On | Blend Metallic. Unticked, A's passes through untouched. | |
| Height | On | Blend Height. Unticked, A's passes through untouched. | |
| Ambient Occlusion | On | Blend Ambient Occlusion. Unticked, A's passes through untouched. | |
| Emissive | On | Blend Emissive. Unticked, A's passes through untouched. | |
| Opacity | On | Blend Opacity. Unticked, A's passes through untouched. |
Material Output
The graph's material result: each channel of the Material that reaches it is one of the graph's results, for export and the 3D view, as if each had its own Output node (an Output node of the same channel wins). A subgraph's Material Output is a Material pin on its Subgraph node.
Inputs: Material (Material) · Outputs: none
No settings of its own.
Metal Weathering
Weathers a metal: rust and dirt gather in its hollows (from the Ambient Occlusion), broken up by a noise of their own; its convex edges wear to bare metal in scratches (the curvature read from the Height, or from the Normal when no height is wired).
Inputs: Base Color (colour, optional), Normal (colour, optional), Roughness (gray, optional), Metallic (gray, optional), Height (gray, optional), Ambient Occlusion (gray, optional) · Outputs: Base Color (colour), Normal (colour), Roughness (gray), Metallic (gray), Height (gray), Ambient Occlusion (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Rust | 0.5 | 0 to 1 | How much rust: 0 none, 1 thick in every hollow and spreading out of them. |
| Rust Color | R 0.42, G 0.24, B 0.13, A 1 | The rust's colour. | |
| Dirtiness | 0.25 | 0 to 1 | How much dirt settles in the hollows. |
| Dirt Color | R 0.2, G 0.18, B 0.15, A 1 | The dirt's colour. | |
| Edge Wear | 0.5 | 0 to 1 | How much the convex edges wear to bare metal. |
| Scratch Scale | 16 | 1 to 64 | How many scratches across the image the worn edges break into. |
| Noise Scale | 6 | 1 to 64 | How many patches across the image the rust and dirt break into. |
Split Material
Takes a Material apart: an output per channel; a channel the Material lacks gives its default.
Inputs: Material (Material) · Outputs: Base Color (colour), Normal (colour), Roughness (gray), Metallic (gray), Height (gray), Ambient Occlusion (gray), Emissive (colour), Opacity (gray)
No settings of its own.
Uniform Material
A Material of flat values: tick the channels it carries and set each one's value. Small (16 x 16), since every node reads it stretched to its own size.
Inputs: none · Outputs: Material (Material)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Base Color | On | Carry a Base Color. Unticked, the material has none, and a stack's own Base Color shows through. | |
| Base Color | R 0.5, G 0.5, B 0.5, A 1 | The colour, the same everywhere. | |
| Normal | Off | Carry a flat Normal (facing straight out). Unticked, the material has none, and a stack's own Normal shows through. | |
| Normal | R 0.5, G 0.5, B 1, A 1 | A tangent-space normal as a colour (flat is 0.5, 0.5, 1). | |
| Roughness | On | Carry a Roughness. Unticked, the material has none, and a stack's own Roughness shows through. | |
| Roughness | 0.5 | 0 to 1 | 0 glossy, 1 matte, the same everywhere. |
| Metallic | Off | Carry a Metallic. Unticked, the material has none, and a stack's own Metallic shows through. | |
| Metallic | 0 | 0 to 1 | 0 not metal, 1 metal, the same everywhere. |
| Height | Off | Carry a Height. Unticked, the material has none, and a stack's own Height shows through. | |
| Height | 0 | The height, the same everywhere. In a stack, heights add up. | |
| Ambient Occlusion | Off | Carry an Ambient Occlusion. Unticked, the material has none, and a stack's own shows through. | |
| Ambient Occlusion | 1 | 0 to 1 | 1 open, lower darker, the same everywhere. |
| Emissive | Off | Carry an Emissive. Unticked, the material has none, and a stack's own shows through. | |
| Emissive | R 0, G 0, B 0, A 1 | The light the surface gives off; black gives none. | |
| Opacity | Off | Carry an Opacity. Unticked, the material has none, and a stack's own shows through. | |
| Opacity | 1 | 0 to 1 | 1 there, 0 cut away, the same everywhere. |
Water Level
Water filling a material's hollows up to a level of its height: under the water the colour darkens and takes a sludge in the deeper parts, the surface lies flat and smooth at the level; the band just above the water is wet, darker and smoother. Mask gives where the water is.
Inputs: Base Color (colour, optional), Normal (colour, optional), Roughness (gray, optional), Metallic (gray, optional), Height (gray, optional), Ambient Occlusion (gray, optional) · Outputs: Base Color (colour), Normal (colour), Roughness (gray), Metallic (gray), Height (gray), Ambient Occlusion (gray), Mask (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Level | 0.3 | 0 to 1 | The height the water reaches: everything lower is under water. |
| Darkness | 0.3 | 0 to 1 | How much darker the colour is under the water. |
| Edge Wetness | 0.5 | 0 to 1 | How wet the band above the water is: darker and smoother as it rises. |
| Edge Distance | 0.1 | 0 to 1 | How far above the water the wet band reaches, as height. |
| Sludge Color | R 0.45, G 0.42, B 0.3, A 1 | The colour of the sludge settled in the deeper water. | |
| Sludge Opacity | 0 | 0 to 1 | How much sludge shows at its thickest. |
| Sludge Depth | 0.5 | 0 to 1 | How soon the sludge thickens with depth: 0 only at the deepest, 1 right under the surface. |
| Water Roughness | 0.03 | 0 to 1 | How rough the water's surface is. |
Custom
Your own logic: a material, a material function or HLSL code run on every texel.
HLSL
HLSL typed on the node and run on every pixel. The code reads its inputs by name (one sampled anywhere also at any position, Sample<Name>(uv)), UV (the texel's centre, 0 to 1 across the texture) and Size (the texture's size in texels), and returns the result: a float for gray, a float3 for colour. Needs the editor (the code is compiled as part of a material made for it).
Inputs: In (gray, optional) · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Code | return In; | The code run on every pixel. It reads its inputs by name, UV (the texel's centre, 0 to 1) and Size (the texture's size in texels), and returns the result: a float for gray, a float3 for colour. | |
| Code Inputs | — | The inputs the code reads, each a name and gray or colour. Each becomes a pin of the node. | |
| Output Type | Gray | Whether the code returns gray (a float) or colour (a float3). Choices: Gray; Color. |
Material
Draws a whole material: an unlit material whose emissive colour is the result. Its texture parameters named Input 1 to Input 4 become the node's inputs.
Inputs: none · Outputs: Out (colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Material | none | The material drawn: an unlit material whose emissive colour is the result. Its texture parameters named Input 1 to Input 4 become the node's inputs. | |
| Gray Output | Off | The result is gray (the emissive colour's red) instead of colour. |
Pixel Processor
Runs a material function on every pixel: its scalar inputs take gray and its vector inputs colour, and each of its outputs is one of the node's outputs. Needs the editor (the function is drawn through a material made for it).
Inputs: none · Outputs: none
| Setting | Default | Range | What it does |
|---|---|---|---|
| Function | none | The material function run on every pixel. Its inputs become the node's inputs and its outputs the node's outputs. | |
| Output Settings | none | The function's outputs, each colour or gray. |
Graph
The graph's own plumbing: inputs, outputs, textures and images, constants, switches, subgraphs.
Graph Input
An input of this graph when it is used as a subgraph: the Subgraph node gets a pin of this name and type, and what the parent wires to it comes out here. Opened on its own, or left unwired, it gives its default.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Input Name | Input | The Subgraph node's pin name. | |
| Type | Gray | What kind of input this is: gray, colour or a Material. The Subgraph node's pin takes that kind. Choices: Gray; Color; Material: A Material; left unwired it carries no channels, so what reads it sees each channel's default. | |
| Default Gray | 0.5 | The default for a gray input. | |
| Default Color | R 0.5, G 0.5, B 0.5, A 1 | The default for a colour input. | |
| Default Texture | none | A texture for the default instead of a flat value. |
Image
An image file in the graph (PNG, TGA, EXR or TIFF), read through the engine's image readers and used as the Texture node uses a texture: its colour and its brightness as gray. Read again when the file changes.
Inputs: none · Outputs: Color (colour), Gray (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| File | () | The file; one inside the project is kept relative to it. | |
| SRGB | On | An 8-bit image holds sRGB colour (most do); clear this for 8-bit images that hold data, such as masks or normals. 16-bit and floating-point images are read as linear values. |
Multi Switch
Hands on one of up to sixteen inputs, the Selected one (counting from 1): for variations, or a subgraph setting that picks among several branches. Only the input handed on is evaluated.
Inputs: Input 1 (gray or colour, optional), Input 2 (gray or colour, optional), Input 3 (gray or colour, optional) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Input Count | 3 | 2 to 16 | How many inputs it has. |
| Selected | 1 | 1 to 16 | The input handed on, counting from 1. |
Output
One of the graph's results: what reaches it is the graph's Base Color, Normal, Roughness and so on, for the 3D view and for export. It changes nothing on the way.
Inputs: In (gray or colour) · Outputs: none
| Setting | Default | Range | What it does |
|---|---|---|---|
| Channel | Base Color | Which of the graph's textures this is. Choices: Base Color; Normal; Roughness; Metallic; Height; Ambient Occlusion; Emissive; Opacity. |
Reroute
A bend in a wire, to tidy a graph. It changes nothing.
Inputs: In (gray or colour) · Outputs: Out (gray or colour)
No settings of its own.
Smart Mask
A Smart Mask on a layer's mask stack: its own copy of a Smart Mask graph, so each use keeps its own values, with the graph's parameters shown as the node's.
Inputs: none · Outputs: none
| Setting | Default | Range | What it does |
|---|---|---|---|
| Source | none | The Smart Mask it was made from. | |
| Parameters | (Value=None) | The graph's parameters, as this use sets them. | |
| Graph | none | The Surface Graph this node stands for. | |
| Values | none | What this node sets its graph's value inputs to, one per input: an expression over this graph's own value inputs, or empty for the graph's default. Kept in step with the graph's value inputs. |
Subgraph
Another Surface Graph used as one node: its Graph Inputs become this node's inputs and its Output nodes this node's outputs, kept current as that graph changes. Its nodes join this graph's evaluation, so changes upstream flow through and its results cache like any other; two Subgraph nodes of one graph seed differently. A graph that would contain itself is refused.
Inputs: none · Outputs: none
| Setting | Default | Range | What it does |
|---|---|---|---|
| Graph | none | The Surface Graph this node stands for. | |
| Values | none | What this node sets its graph's value inputs to, one per input: an expression over this graph's own value inputs, or empty for the graph's default. Kept in step with the graph's value inputs. |
Switch
Hands on A or B: for trying variations, or for a subgraph setting that picks a branch. Only the branch handed on is evaluated.
Inputs: A (gray or colour, optional), B (gray or colour, optional) · Outputs: Out (gray or colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Use B | Off | Hand on B instead of A. Only the input handed on is worked out. |
Texture
A texture asset in the graph, resampled to the graph's size: its colour and its brightness as gray.
Inputs: none · Outputs: Color (colour), Gray (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Texture | none | The texture asset brought into the graph. |
Uniform Color
One colour everywhere.
Inputs: none · Outputs: Out (colour)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Color | R 0.5, G 0.5, B 0.5, A 1 | Linear colour, as a material takes it. |
Uniform Gray
A single gray value everywhere: a constant for masks and gray channels.
Inputs: none · Outputs: Out (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Value | 0.5 | The gray value, the same everywhere. |
Layers
Nodes a Paint Project's stack is made of when it is shown as a graph (Open as Graph, chapter 9). They are made by the stack, not taken from the library.
Paint Layer
A Paint layer in a stack's graph: the stack below comes in, and goes out with the layer's paint laid on, channel by channel, each by its own painted coverage. Made by the stack, not from the library.
Inputs: Below (Material, optional) · Outputs: Material (Material)
No settings of its own.
Paint Mask
A mask stack's painted mask: black where unpainted (or white), the Mask Value where painted, by its painted coverage. Painted in the Paint Editor with its mask entry selected; its paint is kept under its entry's identity on the set's paint surface.
Inputs: none · Outputs: Mask (gray)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Start White | Off | Unpainted, the mask lets the layer through (white) or holds it back (black). | |
| Mask Value | 1 | 0 to 1 | The gray a stroke paints: 1 lets the layer through, 0 holds it back. |
| Brush Settings | — | How the brush lays it on. |
Placeholder
Stands in for a node Texture Graph import or .sbs import could not convert (chapters 15 and 16).
Placeholder
Stands in for a node of another tool's graph that Surface Studio has no equivalent for (Texture Graph import). Its pins are named as the original's, so links still land; it keeps the original's settings as text and outputs black, so the graph still evaluates. It is drawn flagged: replace it by hand.
Inputs: none · Outputs: none
| Setting | Default | Range | What it does |
|---|---|---|---|
| Original | empty | What it stands in for. | |
| Original Settings | empty | The original's settings, a line each: name = value. | |
| Advice | empty | What to replace it with. |
Mesh maps and Bake Sets
A Bake Set measures a mesh's shape once and keeps the result as mesh maps: where its edges and creases are, which way it faces, how thick it is, and the detail of a more detailed version of it. Smart Masks, Smart Materials and Paint Projects read these maps, which is how one look fits any mesh. This chapter makes a Bake Set, explains each map and setting, and says what baking costs.
Make a Bake Set
Texture This Mesh (chapter 11) makes one for you. To make one by hand:
- In the Content Browser, choose and open it.
- Set Low Mesh: the mesh the maps are for, the one you will texture.
- Optionally set High Mesh: a more detailed version of the same shape, whose detail you want on the low mesh (below).
- Tick the maps you want, and set the size under Settings (Resolution).
- Press Bake. The bake runs in the background with a progress bar; Cancel stops it and leaves the maps as they were.
Each map is kept inside the Bake Set as an uncompressed texture named T_<Bake Set>_<Map>, with smaller copies of itself (mips) averaged below it. Their thumbnails show in the Bake Set's details.
Only what changed is baked again. Press Bake with nothing changed and it says the maps are up to date. A setting bakes again only the maps it affects (the occlusion distance only Ambient Occlusion, the thickness distance only Thickness). Choosing or changing the high mesh, or the cage with a high mesh, bakes every map but UV Islands. A low mesh rebuilt with other build settings bakes everything. The same bake gives the same maps every time.
The maps
| Map | What it holds | Read by |
|---|---|---|
| Normal | The surface's direction, in the mesh's tangent space (the same kind of normal map a material uses). Flat without a high mesh; with one, the high mesh's detail. | Paint Projects (it's the base of each texture set's Normal) |
| World Normal | Which way each texel faces in the mesh's own space, stored as colour (normal × 0.5 + 0.5). | Masks that depend on facing |
| Position | Where each texel is within the mesh's bounds: each axis 0 at the mesh's lowest, 1 at its highest. | Position Gradient (dust from above, dirt from below) |
| Ambient Occlusion | How open each texel is: 1 in the open, darker where nearby geometry hides it. | Cavity Dirt, starters with grime and dust |
| Curvature | How the surface bends: 0.5 flat, brighter bending outward (edges, ridges), darker bending inward (creases). Scaled to the mesh's own range. | Edge Wear, Cavity Dirt |
| Thickness | How thin the mesh is behind the surface: low where thin, 1 at the Thickness Distance and beyond. | Thickness Mask |
| Height | With a high mesh, how far its surface stands from the low one along the low normal: 0 at the cage's back, 1 at its front. Without one, the middle. | Height detail |
| ID | A colour per material slot. | ID Mask |
| UV Islands | A gray per UV island (island k of N is (k + 1) / N), black outside the islands. | Normal from Height's Islands input, so height detail never draws lines along seams |
Formats: Normal, World Normal and Position as 16-bit float colour; Height as 32-bit float; ID as 8-bit colour; the rest as 16-bit gray. All linear and uncompressed.
Without and with a high mesh
Without a high mesh the low mesh is read itself: its own edges, hollows and thickness. That is all Smart Masks and Smart Materials need. The Normal map comes out flat (the mesh's own shading needs no help), and Height sits at the middle.
With a high mesh, every map but UV Islands describes the high mesh: for each texel, a ray goes from the front of the cage back along the low surface's normal, and the first place it meets the high mesh within the cage is what that texel records.
- Cage Front and Cage Back set how far in front of and behind the low surface the high one is looked for, each as a share of the low mesh's largest side. Too small, and parts of the high mesh are missed; too large, and the ray can find the wrong part of it.
- A texel whose ray meets nothing keeps the map's default (a flat normal, open occlusion).
- A low mesh with hard edges can leave texels near its corners unbaked against a rounded high mesh, since straight rays there pass outside it. The same mesh with smoothed normals leaves none.
- The high mesh needs no UVs.
Normal maps light without seams. The low mesh is prepared exactly as Unreal's own mesh build prepares it (its build settings: recomputed normals, weighted normals, MikkTSpace tangents, build scale), and the Normal map is solved for the frame Unreal's shading builds from it. So the low mesh lights as the high one did, on both sides of every UV seam, with hard edges and smoothed ones. Tangents always follow UV channel 0, as Unreal's do, whichever channel the maps are laid out in.
Settings
| Setting | What it does |
|---|---|
| Resolution | The maps' size: 512, 1024, 2048 or 4096. Match it to the textures you will paint. |
| Samples Per Texel | 1, 4 or 16. Each texel averages its own samples: more give smoother edges, and nothing blurs across texels. |
| UV Channel | Which of the mesh's UV layouts the maps are laid out in. |
| Dilation | How many texels each map grows past the edges of its UV islands, so filtering at seams never picks up the empty space between islands. Counted at 2048 and scaled with the resolution; 0 turns it off. |
| Cage Front, Cage Back | With a high mesh: how far in front of and behind the low surface to look (above). |
| Rays | For Ambient Occlusion and Thickness: how many directions each texel looks in (16 to 256). More are smoother and slower. |
| Occlusion Distance, Thickness Distance | How far those rays look, as a share of the low mesh's largest side. |
Rays on the graphics card
Ambient Occlusion and Thickness are the slow maps: every texel casts its rays. With Rays on the GPU on (; on by default), they're cast on the graphics card. Every other map, and where every texel's samples fall, is worked out the same way either way, so the maps match the processor's: in tests the mean difference was under one millionth, and no texel differed by more than 0.004 (on a 0 to 1 scale).
The rays go to the processor instead, and the Bake Set's message says why ("rays on the CPU, since ..."), when the editor runs without a graphics card, when the mesh read has a single triangle, or when that mesh would need more than 2 GB of video memory (about 11 million triangles).
What it costs (measured on the RTX 4090 machine, whose processor has 32 threads): Ambient Occlusion at 2048 with 128 rays, for a 100,000-triangle low mesh and a 2,000,000-triangle high mesh, takes 5.2 to 5.4 s with the rays on the graphics card and 8.7 to 9.1 s on the processor, of which about 3.6 s is preparing the meshes either way. Starting a bake holds the editor for under a tenth of a second; the rest runs in the background while you work.
Reading the maps in a graph
The Mesh Map node (the Mesh family) brings one map into a graph: pick a Bake Set and a map. Normal, World Normal, Position and ID come out as colour, the others as gray. At the map's own size it gives the stored texels back exactly; at smaller sizes it reads the averaged copy that matches. A map the Bake Set hasn't baked, or no Bake Set, shows a problem on the node.
The Smart Mask nodes (Edge Wear, Cavity Dirt, Position Gradient, Thickness Mask, ID Mask) read the maps of wherever they are used, rather than a Bake Set you pick:
- inside a Paint Project, the project's Bake Set;
- in a graph on its own, the graph's Preview Bake Set (in the graph's settings);
- inside a subgraph, the outermost graph's.
So a Smart Mask or Smart Material made once fits every mesh it is used on, and two projects using the same graph each get their own result.
A Bake Set opened a moment ago may still be getting its maps ready; the first node to read them waits until they are.
Smart Materials and Smart Masks
A Smart Material is a whole look (several layers of material and their masks) that reads mesh maps, so it fits any mesh. A Smart Mask is a mask of the same kind. This chapter makes them, gives them parameters, and uses them in graphs and on Paint Projects.
The Smart Mask nodes
Five nodes make masks from a mesh's maps. Each gives a gray: 1 where the mask applies, 0 elsewhere. They follow the mesh's UV layout, so they don't tile (they don't need to).
- Edge Wear (from Curvature): wear along convex edges, none on flat faces. Amount spreads it down from the sharpest edges (0 none, 1 everything convex), Softness softens its edge, and the optional Breakup input (a gray, mid-gray neutral) pushes the edge in and out by Breakup Strength, so the wear looks chipped rather than machine-cut. On edges rounded evenly it wears an even band along each edge; bevels of varying sharpness wear unevenly, as real objects do.
- Cavity Dirt (from Ambient Occlusion and concave Curvature): dirt in corners and creases, none in the open. Cavity Mix goes from occlusion only (0) to concave curvature only (1); Amount, Softness and Breakup as for Edge Wear.
- Position Gradient (from Position): 0 at the mesh's low end along an Axis (Z is up), 1 at its high end. Offset is where it is half way, Softness how wide the change is either side, and Invert turns it over. Dust from above, dirt from below, a damp line.
- Thickness Mask (from Thickness): Low becomes black and High white, so thick parts are white; Invert makes thin parts white. Light through ears and leaves, worn thin edges.
- ID Mask (from ID): the texels of one material slot's colour, within Tolerance.
Smart Masks
A Smart Mask asset is a graph whose result is one gray mask: . A new one starts as Edge Wear levelled into its output, with Edge Wear's Amount as a parameter. Build any mask you like: combine the Smart Mask nodes with noises, blurs and levels.
On a layer's mask stack: in the Paint Editor, + Mask › Smart Mask lists the project's and the plugin's Smart Masks; pick one and it becomes a mask entry on the selected layer, named after it (SMask_Wear shows as Wear). The entry keeps its own copy of the Smart Mask, made when it is added, and shows that copy's parameters in its details: changing one changes this use only, and the asset stays as it is. Dragging a Smart Mask from the Shelf does the same (chapter 9).
In a graph: drag it from the Library onto the grid, and it becomes a Subgraph node.
Smart Materials
A Smart Material asset is a graph of its own kind: . It ends in a Material Output, may take the stack below it through a Material Graph Input named Below, and reads mesh maps from where it is used. A new one is a coat of uniform values laid over the stack below.
It opens in the Graph Editor like any graph. With a Preview Bake Set in its settings, the 3D view shows it on that Bake Set's mesh; the starters use the plugin's preview mesh.
On a Paint Project: + Smart Material (pick one from the list), or a double-click or drag from the Shelf, puts it above the selected layer as a Group named after it (SMat_WornPaint shows as Worn Paint), selected.
- The Group's details start with the Smart Material's parameters. Changing one changes the setting inside the Group, as one step of Undo.
- The Group's layers are all there to open and change, and a change made inside shows in its parameters.
- Each use is independent of every other, and of the asset.
- The Promote pin on a setting of a node inside the Group shows that setting among the Group's parameters.
Save as Smart Material in the Paint Editor writes the selected layer or Group as a new Smart Material beside the project, named SMat_ and the layer's name. A Group's promoted settings become its parameters. Laying it again gives the same Group, texel for texel. This is how you keep a look you built on one mesh to use on others.
Parameters
A Smart Material's or Smart Mask's parameters are its graph's parameters (chapter 5): promote the settings a user should reach, and give them clear names (Paint Colour, Wear, Dirt). With nothing selected, the graph's details list them, to rename or take off.
The Paint Editor
A Paint Project textures one mesh: a texture set for each of its material slots, each a stack of layers and masks, reading the mesh's maps from a Bake Set. The Paint Editor is its window. This chapter makes a project, goes round the window, and explains layers, masks, the Shelf, and seeing a stack as a graph. Chapter 10 is about painting itself.
Make a Paint Project
Texture This Mesh (chapter 11) makes a project ready to paint, its Bake Set baked and a Smart Material laid on. To make one by hand:
- In the Content Browser, choose . The same dialog as Texture This Mesh asks for a mesh, a size and a starter Smart Material; with a mesh chosen, the project is set up with its Bake Set beside it, as Texture This Mesh does. With no mesh, it is an empty project.
- In an empty project, set Mesh and Bake Set in the project's settings (on the right, under PROJECT AND TEXTURE SETS). Choosing the mesh gives a texture set for each of its material slots, each starting with a Fill layer.
Texture sets belong to slots by name, so if the mesh changes and its slots are read again, every set keeps its layers.
The sample's projects (Examples › RedPaintBall › PP_RedPaintBall and the others, chapter 3) are finished stacks to open and read: a starter's Group, starters laid over one another (StoneBox), a Smart Mask on a Group (Drum).
The window
| Part | What it is for | |
|---|---|---|
| 1 | The top bar | The texture set shown, Export, Live, Save, Open as Graph and Apply Graph. |
| 2 | Layers | The current texture set's stack, top first, with the buttons that add and arrange layers and masks. |
| 3 | The viewport | The mesh with each slot's result. The left button paints with a Paint layer selected; Alt and the left button orbit. The 2D tab shows the set laid flat. |
| 4 | Selection | The selected layer's or mask entry's settings (a Paint layer's brush among them), then the project's and its Bake Set's. |
| 5 | The Shelf | Smart Materials, Smart Masks, brushes and alphas, to drag onto the mesh or the stack. |
- The top bar: Texture set (which material slot's stack the Layers panel shows), the gold Export menu (chapter 13), Live (chapter 13), Save, Open as Graph and Apply Graph (below).
- LAYERS on the left: the current texture set's stack, top layer first, with the buttons that add and arrange layers.
- The viewport in the middle: the mesh, each material slot wearing its texture set's result. The 3D and 2D tabs above it switch between the mesh and the texture set laid flat (chapter 10). The line under it gives the size, the work done and how much came from the cache.
- SELECTION on the right: the settings of the selected layer or mask entry, then the project's and its Bake Set's.
- The Shelf under the views: the starter library and your own Smart Materials, Smart Masks, brushes and alphas, to drag onto the mesh or the stack (below).
The viewport follows every change you make, also while the editor is in the background.
Texture sets
A texture set is one material slot's textures: its Resolution (512 to 8192), the Channels it makes (Base Color, Normal, Roughness, Metallic, Height and Ambient Occlusion at first; Emissive and Opacity off), its Output Template (chapter 13), and its stack of layers. With Height in the set, the set's Normal also carries the height's detail, so a height you paint or lay as a pattern shows in the lighting. Without it, Normal is only what the layers give.
The window keeps only the current texture set's results in video memory (the others still show on the mesh). Measured with four sets at 1024: one set's results took 92 MB, where keeping every set's would hold 368 MB. Switching to another set works that set out again.
Layers
Layers go bottom to top, each laid over everything below it:
| Layer | What it is |
|---|---|
| Fill | A material of flat values: tick the channels it carries (Base Color, Roughness and so on) and set each one. Its masks give it its shape. Most layers are Fills. |
| Paint | What you paint with a brush (chapter 10). |
| Group | Layers kept together, to move, hide or mask as one. A Smart Material lands as a Group. |
| Graph Layer | A Surface Graph that receives the stack below as a Material and gives back a Material: for effects a Fill can't make. |
Every layer has:
- Visible: a hidden layer changes nothing.
- Opacity: how much it shows, times its masks.
- Blend Mode: how its colour and gray channels combine with the stack below (the Blend node's modes, chapter 6). Normal and Height always combine as the Material Blend combines them: Normal's detail laid on the Normal below, Height added.
- Channels: an unticked channel leaves the stack's own untouched. Turn off everything but Roughness and the layer changes only the shine.
- Masks: where the layer shows (below).
Height adds up through the stack: a layer's Height under its mask is added to the Height below, so scratches cut into paint that sits on metal.
A Group in its default blend mode (Copy) lays its layers on the stack below in turn, so where one of them leaves a gap (worn paint, say) the stack below shows through. The Group's opacity and masks then say how much of all that shows. In another blend mode the Group's layers are combined on their own first, and the result is blended on the stack.
Arranging layers
| Button | What it does |
|---|---|
| + Fill | A new Fill above the selected layer (inside a selected Group). |
| + Group | A new Group holding a Fill. |
| + Paint | A new Paint layer, selected, ready to paint. |
| + Mask | A mask entry on the selected layer (below). |
| + Smart Material | A Smart Material from the list, as a Group above the selection (chapter 8). |
| Up, Down | Move the selected layer. |
| Delete | Delete the selected mask entry, else the selected layer. |
| Save as Smart Material | The selected layer or Group as a new Smart Material beside the project (chapter 8). |
| Save Brush | The selected Paint layer's brush as a new Surface Brush beside the project (chapter 10). |
Tick a row's box to show or hide its layer; drag a row onto another to move it there. Every one of these is one step of Undo, and Redo brings it back.
What a change costs: the stack is worked out as a graph, so a change works out only the layer it touches and the layers above; everything below comes from the cache.
Masks
A layer's mask stack starts white: the whole layer shows. Each mask entry changes it, top to bottom, each with its own Blend Mode, Opacity and Enabled box:
- A generator (a Smart Mask, a Smart Mask node, a noise) is multiplied into the mask so far: the first one is the mask, and each one after cuts it further. Edge Wear times a Clouds noise gives wear broken up into patches.
- A filter (Levels, Blur HQ, Histogram Scan, Invert) works on the mask so far and replaces it. A Position Gradient turned over with Levels lays the layer at the bottom of the mesh instead of the top.
+ Mask offers:
| Section | Entries |
|---|---|
| Smart Masks | Smart Mask: pick any Smart Mask asset. The entry keeps its own copy, with its parameters in the entry's details: changing them changes this use only. |
| Generators | The Smart Mask nodes: Edge Wear, Cavity Dirt, Position Gradient, Thickness Mask, ID Mask. |
| Painted | Paint Mask: a mask you paint (chapter 10). |
| Filters (read the mask so far) | Levels, Blur HQ, Histogram Scan, Invert. |
Select an entry in the stack to see its settings. Masks reading mesh maps need the project's Bake Set: without one, the viewport says to choose one.
The Shelf
The Shelf sits under the views, with four tabs. Each shows tiles (each asset's picture and name) from your project's content and the plugins', and a search box shows only the names containing what you type. It follows assets as they are added, renamed and removed.
| Tab | Holds |
|---|---|
| Smart Materials | Every Smart Material. |
| Smart Masks | Every Smart Mask. |
| Brushes | Every Surface Brush. |
| Alphas | Textures kept in a folder named Alphas (or a folder inside one), and the textures a Surface Brush or Paint Project uses as its Alpha tip once saved, wherever those are. |
Using a tile:
- Double-click a Smart Material: a Group where + Smart Material puts it. A Smart Mask: an entry on the selected layer.
- Drag a Smart Material onto a layer's row: it goes just above that layer. Onto the viewport: at the top of the texture set whose material slot is under the cursor, and that set is shown.
- Drag a Smart Mask onto a layer's row: an entry on that layer. Onto the viewport: an entry on the selected layer.
- Click a brush: it is loaded into the selected Paint layer, as Load Brush does. Click an alpha: the selected Paint layer's tip becomes that image. With no Paint layer selected, brushes and alphas do nothing.
Each use of the Shelf is one step of Undo, as its menu twin is.
Open as Graph and Apply Graph
Open as Graph writes the current texture set's stack as a Surface Graph beside the project and opens it. Every layer and mask entry becomes nodes you can see and edit like any graph. Apply Graph reads the graph back into the stack.
A stack shown as a graph and read back is the same stack, layer for layer and texel for texel. Colour, opacity and order changes made in the graph come back as layer changes; nodes added between layers come back as a Graph Layer, and the result doesn't change. This is the way to see exactly how a stack is built, or to do something to it that only nodes can.
Painting
Paint layers and paint masks take brush strokes, on the mesh or on its flat texture layout. This chapter covers the brush and all its settings: tips, jitter, pen pressure, symmetry, the depth test, stencils and projected images. It then covers painted masks, brushes kept as assets, undo, and how paint behaves at seams and when a texture set changes size.
Start painting
- Add a Paint layer with + Paint (or select one). Its row is marked PAINT.
- With it selected, the left mouse button paints on the mesh, and Alt with the left button orbits, as the hint at the top of the viewport says. A gold circle shows the brush where the mouse is over the mesh.
- Set the brush and the values it paints in the layer's settings on the right.
The first time a texture set gets a Paint layer, or when its size changes, the mesh is prepared for painting in the background while you go on working. The hint reads Preparing the mesh for painting... until it is ready (on an RTX 4090, about 0.7 s for a 4096 set). Then the left button paints.
While you paint, the viewport is updated from the part of the texture set the stroke has touched, not the whole set, and shows exactly what working out the whole set would.
The brush
| Setting | What it does |
|---|---|
| Size | The brush's width, in the mesh's units (with Size Mode set to Mesh Units). |
| Size Mode | Mesh Units: Size covers the same part of the mesh however near the view is. Screen Pixels: Screen Size is how many of the viewport's pixels the brush is across where it lands, however near the view is. |
| Hardness | How much of the radius paints at full strength before it eases out to nothing at the edge. 1 is a hard edge, 0 eases from the middle. |
| Flow | How much each dab lays on. Low flow builds up slowly as dabs overlap. |
| Opacity | The most one stroke lays on, however many of its dabs cross a place. Paint at 0.5 opacity and a stroke never covers more than half, however long you scrub. |
| Spacing | The distance between dabs, as a share of each dab's own size: smaller dabs lie closer together. |
| Depth Test | On (the default): paint goes only where the view sees, so a big brush doesn't paint through the mesh onto parts hidden behind it. Off: paints through. |
Below them is the brush material: the channels a stroke paints (ticked) and the value of each. A stroke changes only the ticked channels: tick Roughness alone to paint a polished patch without touching the colour.
Tips
| Tip | What it paints |
|---|---|
| Round | A ball around the point under the mouse. Hardness eases it towards its edge. |
| Square | A square across the surface. Hardness eases it too. |
| Alpha | An image's red channel across the surface: white paints, black doesn't. For shaped brushes, stamps and textured strokes. With no image set, it paints as Round. |
Angle turns the tip about the surface. Images used as alphas should have sRGB off.
Jitter
Each dab can vary from the last, within the amounts set:
- Size Jitter: its size, up to a share of it, either way.
- Angle Jitter: its turn, up to a share of a half turn.
- Position Jitter: its place, up to a share of its size from the stroke's line, across the surface.
- Flow Jitter: its flow, down by up to a share.
A stroke's variation is fixed when it is laid, so undo, redo and later size changes lay it exactly again.
Pen pressure
A pen's pressure can drive each dab's size, flow and opacity, each with its own tick and curve (pressure across, the share it gives up; a straight line unless you change it). Flow follows pressure unless you untick it. A dab's opacity is the most it lets the stroke build up to there.
The pen is read through Unreal's Stylus Input plugin, which Surface Studio switches on. Windows reports a mouse as a tablet too, but only a tablet that measures pressure gives it, so the mouse always paints at full pressure.
Without a pen, Speed Pressure makes pressure from the stroke's speed on the screen: full when slow, falling to Minimum Pressure at Speed for Minimum (in pixels a second) and faster. Fast strokes then paint thinner and lighter, as a pen pressed lightly would.
Symmetry
With Mirror ticked, each dab is laid again across the mesh's X, Y or Z axis (Mirror Axis): the plane through the mesh's pivot, moved by Mirror Offset. The tip is mirrored too. Both halves are one stroke and one step of Undo.
Projection
Projection says where the paint comes from and how it lands:
- Surface (the default): the tip on the surface, painting the brush's values.
- Planar Stencil: an image laid over the viewport (Stencil Centre, Stencil Scale as a share of the viewport's height, Stencil Angle), shown half see-through while the Paint layer is selected. Its red lets paint through where each place lands on the screen; outside the stencil nothing paints, unless Paint Outside Stencil is ticked. For lettering, logos and crisp shapes painted from the view.
- Image Projection: the Image's colour projected from the view onto the mesh (the image fitted to the viewport), as Base Color times the brush's Base Color. The other channels take the brush's values. For painting a photo or a decal onto a mesh.
- Triplanar: the Image's colour laid on the mesh along its three axes and blended by how the surface faces each (Triplanar Scale: how many mesh units one repeat covers; Triplanar Sharpness: how sharply the three part), as Base Color. It crosses UV seams without a join.
Images used here should have sRGB off.
Painting in 2D
The 2D tab above the viewport shows the current texture set laid flat in its UV layout, one channel at a time (the picker on its right). With a Paint layer selected, the left button paints there too, by distance in the flat layout: a stroke stays where it is drawn and doesn't cross to the other side of a UV seam. The middle or right button pans and the wheel zooms; the brush shows as a circle.
A brush size in mesh units goes by the mesh's texel density, so on a flat face it covers about what it would in 3D; a size in screen pixels is the 2D view's pixels. Each stroke is one step of Undo, as in 3D.
Painted masks
+ Mask › Paint Mask adds a mask you paint. Select its entry in the stack and the left button paints it, in 3D or in the 2D tab, with the mask's own brush in its settings.
- Unpainted, it holds the layer back (black), or lets it through with Start White ticked.
- Where painted, it takes the Mask Value (1 lets the layer through) by how much the stroke laid there.
- Its strokes are undo steps, and its paint is saved with the project, as a Paint layer's is.
Painted masks let you place a material exactly: a Fill of rust masked by paint goes only where you paint, and you can change the rust's colour later without repainting.
Surface Brushes
A Surface Brush asset () keeps a brush: its settings and the values it paints.
- Save Brush saves the selected Paint layer's brush as one beside the project.
- Load Brush in a Paint layer's settings (or a click on the Shelf's Brushes tab) gives the layer that brush's settings and values.
What a stroke does
- Each dab paints the places on the mesh within its radius, by its falloff. Faces within 60° of the eye take all of it, easing to none at 90°; faces turned away take nothing.
- Each texel moves from what it was before the stroke towards the brush's values, by what the stroke has laid there. A second stroke lays its own on top. A channel the brush doesn't carry keeps what it had.
- Seams: a stroke across a UV seam paints both sides alike, because each texel takes its paint by where it is on the mesh (tested across a rounded box's edges and a cylinder's wrap and rims). Texels outside the UV islands show the paint of the nearest texel inside, so the mesh shows no seam lines.
- Several texture sets: each set paints only its own material slot's part of the mesh.
Undo
Each stroke is one step of Undo (Ctrl+Z), and Redo lays it again exactly.
Strokes' undo steps are kept in video memory up to Undo VRAM Budget MB (Project Settings, 1024 by default). Past it, the oldest move to ordinary memory, compressed, and undo through them is still exact. Past Undo Memory Budget MB (4096 by default) the oldest are let go: undoing such a stroke does nothing, and the Output Log says so.
Changing a texture set's size
Change a texture set's Resolution and the paint is laid again from its strokes at the new size, as if it had been painted there (tested from 512 to 1024 and from 1024 to 2048, texel for texel). Meanwhile the viewport's hint reads Laying the paint again at the new size... and the left button waits.
Long stroke logs: past Stroke Log Dabs (Project Settings, 200,000 dabs by default), a layer's strokes so far are folded into its paint to keep memory in check. A later size change then resamples that paint, which is close but not exact, and lays the strokes since on top. Undoing a stroke that was folded in makes the next size change resample the paint as it last was.
Saving
Saving the project keeps the paint: only the parts of each channel that have paint, compressed. Closing the Paint Editor keeps it on the layers too, and opening the project again shows it.
Texture This Mesh
Texture This Mesh takes a mesh straight to painting: one dialog, then a Paint Project and Bake Set made beside the mesh, its maps baked, a starter Smart Material laid on every texture set, and the Paint Editor open with the brush ready. It works on static and skeletal meshes.
Use it
- Right-click a Static Mesh or a Skeletal Mesh in the Content Browser and choose Texture This Mesh. (The Surface Studio window's Texture a Mesh card does the same for the mesh picked on it.)
- The dialog asks for the mesh (already set), the texture size (512, 1024, 2048 or 4096; 2048 to start) and a starter Smart Material (the first to start, or None to leave the texture sets as they start). Each Smart Material shows its picture.
- Create (or Enter) goes ahead; Cancel (or Escape) does nothing.
What it makes
- A Paint Project beside the mesh, named PP_ and the mesh's name (with SM_ or SK_ taken off; a number added when the name is taken), and its Bake Set, BS_ the same way. Beside a mesh from engine content, they go in /Game. Nothing is saved: save them as any new asset.
- Then it bakes every mesh map at the chosen size. A notification at the bottom right shows the progress, with a Cancel button.
- When the bake is done, each texture set gets the Smart Material as a Group with a Paint layer on top, and the Paint Editor opens on the first set with its Paint layer selected, ready to paint.
- A bake that is cancelled still opens the project, with its Bake Set unbaked: bake it from the Bake Set to see the Smart Material's wear.
How long it takes (measured on an RTX 4090): the engine's material preview mesh (58,540 triangles, 3 material slots) at 2048 bakes in about 3.5 s. With the real mouse, from the right click to painting took 10.2 s, including choosing in the dialog.
Add › Paint Project asks the same dialog (chapter 9). With a mesh chosen, the new project (named and placed as you made it) is set up the same way, its Bake Set beside it. With no mesh, it is an empty project.
Skeletal meshes
A skeletal mesh is painted on a static stand-in: SM_ and the mesh's name with _Paint, made beside the skeletal mesh. It has the same material slots and the triangles of the skeletal mesh's first level of detail (LOD 0) in its reference pose. The project shows the skeletal mesh as its Source Skeletal Mesh.
Export and Assign (chapter 13) puts each texture set's material on the skeletal mesh's slot of the same name, as one step of Undo. Leave the stand-in where it is: the project paints on it.
From Flying Donkey Animation Studio
With Flying Donkey Animation Studio (1.3 or later) installed too, its Drop section's Result panel shows Texture with Surface Studio under Show in Content Browser once a character is dropped. It opens this dialog with the dropped character set; Create does the rest, as above. Checked by hand in a project with both plugins installed as a buyer gets them: the Paint Editor opened 4.9 s after Create, on a mannequin-sized character at 2048.
Neither plugin needs the other: without Surface Studio, Animation Studio shows no such button, and without Animation Studio nothing in Surface Studio changes.
For programmers: Surface Studio offers Texture This Mesh to other editor plugins as an Unreal modular feature named FlyingDonkeyTextureMesh.1. Its interface is one small header, Source/FDSurfaceGraphEditor/Private/FlyingDonkeyTextureMesh.h: find the feature, then call TextureMesh(Mesh, bAsk). Asked, it shows the dialog; not asked, it uses 2048 and the first starter Smart Material. It returns the Paint Project, which is still baking. Copy the header into your own editor module to call it the same way.
The starter library
Surface Studio ships with 32 Smart Materials, 46 Smart Masks and 20 tiling pattern graphs, all made from nodes: open any of them to see how it's built, change it, or save your own from it. This chapter lists them and says how to use and change them.
Where they are
In the Content Browser, with Show Plugin Content ticked: Plugins › Flying Donkey Surface Studio › SmartMaterials, SmartMasks and Patterns. The Paint Editor's Shelf, the Graph Editor's Library and Texture This Mesh's dialog list them too.
Each shows a picture of itself. Smart Materials and Smart Masks show on the plugin's preview mesh, a rounded box with a groove round its middle, so wear has edges to follow and dirt has hollows to fill.
Smart Materials (32)
| Kind | Smart Materials |
|---|---|
| Metals | Bare Steel, Brushed Aluminium, Anodized Aluminium, Rusted Iron, Cast Iron, Galvanized Steel, Copper Patina, Old Brass, Polished Gold, Scratched Chrome, Chipped Red Paint, Worn Painted Metal |
| Plastics and rubber | Glossy Plastic, Matte Plastic, Dusty Plastic, Rubber, Worn Rubber |
| Wood | Raw Wood, Varnished Wood, Painted Wood Worn, Weathered Wood |
| Stone | Concrete, Rough Stone, Marble, Plaster |
| Others | Leather, Canvas, Glazed Ceramic |
| Over what is below | Mud Splash, Moss, Dust, Soot and Grime |
The last five have no base of their own: lay them over another material and the layers under them show through. Lay Moss over Rough Stone, or Dust over anything.
Each one's main settings are its parameters, shown first in its Group's details when it is laid on a Paint Project: colours, wear, dirt, how far the dust reaches. For example, Worn Painted Metal has Paint Colour, Wear, Dirt and Metal Roughness; Dusty Plastic has Plastic Colour, Dust Colour, Dust Line (where the dust starts going up the mesh; higher, less dust) and Dust in Cavities.
Smart Masks (46)
| Kind | Smart Masks |
|---|---|
| Edge wear | soft, sharp, heavy, chipped, scuffed, rusting, spotted, a highlight rim |
| Cavities | dirt, grime, the deepest corners, dust, broad grime, grime running off |
| Up and down | dust from above, dirt from below, a damp line, settled on top, worn on top, dirty at the bottom, sun-faded, where hands hold |
| Running | drips, streaks |
| Rust | blooms, pitting, in the cavities |
| Damage | scratches, scuffs |
| Grunge | clouds, speckle, crackle, smudges, splotches, mottling, veins, streaks |
| Mixes | edges and cavities, weathered edges, paint flaking, moss growth |
| Thickness | thin parts, thick parts |
Put one on any layer from the Shelf, or with + Mask › Smart Mask: each use keeps its own copy, so its parameters change that use only.
The two thickness masks need a mesh whose thickness varies (a leaf, an ear, a cloth edge). The preview box is thick all through, so on it they show all or nothing.
Patterns (20)
| Kind | Patterns |
|---|---|
| Bricks | running bond, stack bond, basket weave |
| Stone | a stone wall, cobblestones, flagstones |
| Tiles | hexagon, square, slate, checker |
| Wood | floor planks, deck planks |
| Fabric | fabric weave, burlap |
| Others | scales, roof shingles, tread plate, metal panels, rubber studs, a honeycomb grille |
Each is a Surface Graph ending in Base Color, Normal, Roughness, Height and Ambient Occlusion, and tiles. Open one to see how it is made; each node is labelled with what it does. Export it (chapter 13) to get its textures and a material instance, or use it inside your own graphs as a Subgraph.
Changing a starter
The starters are in the plugin's folder, which an update of the plugin replaces. To change one, duplicate it into your project's own content first (right-click › Duplicate, then move it, or drag it to a folder of yours and choose Copy Here), and change the copy.
Every starter is also text: a JSON file in the plugin's Examples/Starter folder, which the Graph Editor's JSON › Import JSON as a new graph… reads into a new graph.
Output: templates and export
Your work becomes ordinary Unreal textures and a material instance through an Output Template. This chapter explains templates, what Export writes and where, live mode, exporting to image files, and using a material of your own.
Output Templates
An Output Template says how channels are packed into textures, and which material those textures feed. A texture set or a graph exports through its template.
Each texture in a template has:
- a name suffix (the texture is named T_<project><slot><suffix> or T_<graph>_<suffix>);
- what each of its R, G, B and A holds: a component of a channel, or 0 or 1. Packing three gray channels into one texture saves memory: the ORM texture holds Ambient Occlusion in red, Roughness in green and Metallic in blue;
- a format (8-bit colour, 8-bit gray, 16-bit gray, 16-bit float colour), sRGB or linear, and a compression setting;
- the material parameter it goes to.
The template also names its material, and a Substrate twin used when the project has Substrate turned on.
Templates that ship (Plugins › Flying Donkey Surface Studio › Templates):
| Template | Textures |
|---|---|
| UE Standard | Base Color (sRGB, BC7); Normal (BC5); ORM (linear: Ambient Occlusion in red, Roughness in green, Metallic in blue); Emissive only when a layer writes it. |
| UE Standard + Height | The same, and Height (16-bit gray). |
| Separate | One texture per channel. |
A texture is written only when the set has a channel it reads. Texture sets use UE Standard unless given another; graphs use Separate.
Make your own with ; it starts as a copy of UE Standard.
Master materials
Each shipped template has two master materials: one with Unreal's standard (legacy) shading and one built on a Substrate Slab. Their texture parameters are named as the template's textures. Two switches stay off until needed:
- UseEmissive, which export turns on when Emissive is written;
- UseHeight, a parallax effect driven by Height, with a HeightScale parameter.
When Opacity is written, the instance's blend mode is Masked. Both kinds compile without errors; the Substrate ones in a project with Substrate on.
Your own material: point a template at it, and give each texture the name of your material's parameter. Switches your material doesn't have are left alone.
Export
In the Paint Editor, the gold Export menu:
- Export: every texture set's textures at its size, named T_<project><slot><suffix>, and a material instance MI_<project>_<slot> beside the project.
- Export and Assign to Mesh: the same, and each instance put on its slot of the mesh, as one step of Undo. For a skeletal mesh's project, on the skeletal mesh's slots (chapter 11).
- Export to Files: the same textures as image files in a folder you pick: PNG or TGA (8-bit), EXR (16-bit float) or TIFF (16-bit), each named as its texture would be.
In the Graph Editor, Export writes T_<graph>_<suffix> textures and an MI_<graph> instance through the graph's template, and the JSON menu's Export Textures to Files writes image files.
The sample's Examples › Floor and Wall folders hold two patterns exported this way through UE Standard, and the level's floor and wall wear their instances.
Exporting again updates the same assets, so materials and levels using them update too. Export never writes over an asset it didn't make: if one of that name is already there, it writes beside it under a numbered name. New and updated textures are left unsaved, like any changed asset: keeps them.
Precision: graphs work in 16-bit floats, so exported textures and files hold those values. Each file format was read back within its own step of what the graph worked out.
What you see is what ships
The Paint Editor's viewport and the Graph Editor's 3D view draw the mesh through the template's master material, with its textures packed as export packs them. In a test, a project drawn in the viewport and then with its exported instances differed by 0.3 of 255 on average.
Live mode
Once a project has been exported, the Live button (Live: Off / Live: On) makes the exported material instances show your work as you paint, so placed actors using them follow it before you export again. Saving an instance while live saves it with its textures. Turning Live off, or closing the Paint Editor, puts the exported textures back on the instances. Exporting while live writes the textures and goes live again.
In your game: Blueprint and cooking
Graphs can be rendered while a game runs: random variations, a texture that changes with gameplay, a pattern generated on a player's machine instead of shipped as a file. This chapter covers rendering from Blueprint and C++, graph instances with their own parameter values, what a packaged game holds, and how textures exported from graphs are made again when the game cooks.
Render a graph
Render Surface Graph (an asynchronous Blueprint node; FDSurfaceRuntime::Render in C++) takes:
- a graph, or a graph instance (below);
- a render target to write into (any, including one made with Create Render Target 2D); it is resized to the size asked;
- the channel wanted (Base Color, Normal and so on, as the graph's Output nodes or Material Output deliver them);
- a size and a seed.
Completed fires with the render target once it is written; Failed fires with the reason. In a test, the result equalled the editor's own evaluation of the same graph and seed, texel for texel.
Graph instances
Make Surface Graph Instance makes a copy of a graph that renders with parameter values of its own; setting them never changes the graph asset. Set and Get a parameter by its name, as the kind of setting it is: Scalar, Integer, Bool, Color or Vector. A name the graph doesn't have, or the wrong kind, returns false and writes why to the log.
Variations
Make Surface Graph Variations (asynchronous too) renders the same graph with N seeds (the seed given, then one more each time) into the slices of a new render target array: variety from one graph, for crates, rocks or tiles that shouldn't all look alike. Each slice equals a render with its seed.
A ready-made actor
Surface Graph Render Actor (a C++ actor in the plugin; add it from the Place Actors panel, or make a Blueprint from it) carries a mesh, a Graph, a Channel, a Size, a Seed (0 takes one from the actor's name, so each placed copy differs) and a Material with the Texture Parameter the rendered channel goes to. At BeginPlay it renders the graph into a render target and shows it through a dynamic instance of the material; Render does it again on request. The sample's level has one by its wall, rendering the Cobblestones graph: press Play to see it.
What a packaged game holds
Graphs, Smart Materials and Bake Sets ship. In a test, a packaged Win64 game rendered a graph through Render Surface Graph and matched the editor's export of it (worst difference 0.0005, the precision of 16-bit floats).
Paint Projects, Output Templates and Surface Brushes are editor-only: a cook leaves them out, and what ships from them is what they exported.
Textures made again when the game cooks
A texture exported from a graph remembers its graph (in its Asset User Data). When the project cooks (tested through BuildCookRun, with no extra switch), each such texture is made again from its graph, so what ships is the graph's even if the saved texture is stale. In a test, a texture saved stale cooked as its graph's export, texel for texel.
- The cooker itself can't render, so a helper does: the same editor, started by the cook as a commandlet on this machine's graphics card, for the graphs that have changed since the last cook.
- Results are kept in Intermediate/SurfaceStudio/CookTextures; a cook with nothing changed starts no helper.
- If the helper fails, the cook goes on: the textures it couldn't make cook as they were exported, and the cook's log says why. The helper's own log is Saved/Logs/SurfaceStudioCookTextures.log.
- Regenerate Graph Textures When Cooking (Project Settings › Output) turns this off.
Paint Projects' exports ship as exported: their paint is the source.
Texture Graph import
Unreal's own Texture Graph plugin makes textures from nodes too. Surface Studio converts Texture Graphs into Surface Graphs, node for node where it can, and reports exactly what it did. Surface Studio doesn't need the Texture Graph plugin; the conversion only reads its assets.
Convert
Right-click a Texture Graph or a Texture Graph Instance in the Content Browser and choose Convert to Surface Graph. The entry is there while Epic's Texture Graph plugin is enabled. Each becomes a new Surface Graph beside it, G_ and its name (TG_ taken off; a number added when the name is taken), and opens. The Texture Graph is only read, never changed.
The report
The Message Log's Surface Studio page gets a summary and a line for each node: mapped, approximated (with what differs) or placeholder (with what to do), and notes, such as an output whose name says no material channel (it delivers Base Color) or a wire that couldn't be carried.
What converts
| Nodes | |
|---|---|
| Mapped, matching Texture Graph (measured on every channel, 256 square, 16-bit float images) | Texture, Scalar, Vector, Invert, Clamp, Grayscale, Channel Splitter, Channel Combiner, Channel Swizzle, Blend in all nine of Texture Graph's modes with and without a mask (no difference); Color (within 0.004: Texture Graph keeps a colour constant to about 1/256); Levels on a gray (no difference on a splitter's channel, 0.0005 on a grayscale); Output; subgraphs. |
| Approximated, the report saying what differs | Levels on a colour (Texture Graph levels the brightness and keeps the hue; Surface Studio levels each channel) and where the output low is above 0; Noise, Shape, Gradient, Transform, Blur, Warp, Edge Detect, Normal from Height, HSV and Threshold (the nearest Surface Studio node, settings carried as near as they go); Bool (a gray of 0 or 1); Material Function (a Pixel Processor running the same function). |
| Placeholders | Everything else, Material nodes included: a Placeholder node keeps the original's settings as text, its pins (so wires still land), and says what to use instead. |
Details
- Channels: Texture Graph's textures always have four channels, where Surface Studio has gray and colour. The conversion keeps what Texture Graph's channels hold: a gray used as a colour comes through a Merge, a colour used as a gray gives its red.
- Parameters: Texture Graph's parameters become Graph Inputs of the same name, their value the default and promoted to the graph's parameters; a constant becomes a Uniform node.
- Subgraphs: a Texture Graph used as a subgraph is converted too (once, however often it is used), and the Subgraph node points at it. A graph that reaches itself through its subgraphs is refused, with a placeholder saying why. Texture Graph hands a subgraph's result on in its Output's format (8-bit unless set), where Surface Studio keeps floats, so they can differ by up to 1/255; the report says so.
- Instances convert with their own parameter values.
- Precision: Texture Graph works in its input's format, so a graph fed 8-bit textures works in 1/255 steps where Surface Studio works in floats: differences of up to 1/255 there.
- Blend's two extra settings, Keep A's Alpha and Clamp, are off by default; the conversion sets them to match Texture Graph's behaviour.
In a test, five Texture Graphs built from mapped nodes (a material set of three outputs, a masked blend, a levels and invert chain, channel packing, a graph with parameters) converted with every node mapped and matched Texture Graph within 0.0015.
Importing .sbs files
Surface Studio reads .sbs graph files, the editable graph format many texture artists already have libraries of, and turns each graph in them into a Surface Graph, node for node, with the settings carried over where they mean the same. It needs nothing else installed, and it only reads the file. In this chapter *the source application* means the application the file was made in. Compiled .sbsar files are never opened (see below).
Import
Drag an .sbs file into the Content Browser, choose Import there and pick it, or press Import .sbs... in the Surface Studio window and pick the file and a folder. Each graph in the file becomes a Surface Graph in the folder you imported into, named G_ and the graph's name (a number added when the name is taken). Graphs the file uses from other .sbs files next to it (a dependencies folder is usual) come in too, and the nodes that use them become Subgraph nodes pointing at them. The file is only read, never changed.
The report
The Message Log's Surface Studio page opens with a summary and a line for each node that isn't simply mapped; click a line to open the graph on that node. The whole report, every node, is saved as a Markdown file in Saved/SurfaceStudio/ImportReports, named after the .sbs. Every node has one of these statuses:
| Status | What it means |
|---|---|
| Mapped | A Surface Studio node gives the same result. |
| Approximated | A Surface Studio node does the same job with the settings carried over, but not to the same pixels. Most nodes are here: the look is close, and the settings are there to tune by eye. |
| Counterpart | A Surface Studio node does this job, but the settings don't carry over yet: a placeholder names the node to use. |
| Missing | No Surface Studio node does this job yet. A Placeholder stands in (see below). |
| Stood in | The node's graph is in a compiled .sbsar. A placeholder with a Texture input stands in for it. |
Under each node the report lists what did not come across: a setting with no counterpart, a function part that can't be written, a value that has no Surface Studio equivalent. Read it before tuning: it says exactly where to look.
What comes across
- The format's basic nodes all have Surface Studio nodes: blends, levels, curves, HSL, gradient maps (Gradient Map and Gradient Dynamic), transforms, warps, blurs, normals, grayscale, distance, shuffles, sharpen, emboss, text, SVG, bitmaps (as Image nodes), the pixel processor (as an HLSL node running the same function), the value processor and the FX-Map.
- The source application's library nodes come across onto Surface Studio nodes with their settings: noises, patterns, tile samplers and splatters, shapes, gradients, blurs and warps, edge detect and flood fills, mask and dirt generators, adjustments, normal tools and the material nodes (switch, blend, height blend, colour blend, adjustment blend, transform), each built from a node per channel so every channel can still be wired on. 264 of the 422 graphs in that library have an equivalent today, and the report names any that don't. Surface Studio's versions were made from what those nodes are documented to do and from measuring what their results look like, never copied, so most are approximated: the same job, a very close look.
- Functions on settings become expressions on the same settings (chapter 5), so a setting driven by the graph's inputs still is. A value processor's function is written into the settings it feeds. Where a function drives a setting that a Surface Studio node can't follow while it runs (how many tiles a generator lays, say), the import works it out once from the graph's inputs at their defaults and the report says so.
- The FX-Map becomes an FX-Map node: its quadrant, iterate and switch steps with their functions, drawing its shapes as the source application draws them.
- Graph inputs become the graph's value inputs and Graph Input nodes; outputs become Output nodes by their usage (base colour, normal, roughness and so on). An output with no usage Surface Studio knows (an extra mask, say) becomes a Base Color output placed after the real one, and the report names it: a channel belongs to its first Output node, so the extra one is neither shown in 3D nor exported until you give it a channel of its own; frames and comments come across too, and the graph is laid out again for Surface Studio's larger nodes.
- Sizes. A graph with a size of its own is made at that size (2048 otherwise), wider than tall when the original is. Every node keeps the size it had: its steps up or down, from its input or from its graph.
- Formats. A node held in 8 or 16 bits holds its result between 0 and 1 here too (its Storage), so what clipped there clips here; float nodes keep any value.
- Colour. Colours are worked on as the file holds them and made linear at the colour outputs (a Color Space node the import adds), so imported colours don't come out washed.
- Graphs used with other values. When a graph is used inside another with values that reach one of those worked-out-once settings, the import makes a copy of it for those values, named G_‹graph›_Variant, so it draws as it did where it was made. Uses with the same values share one copy.
How close it gets
Close, and never pixel for pixel. Of 33 full materials imported end to end while this was built, 27 came in as close siblings of the originals, 5 were recognisable but wanted tuning, and 1 leaned on an effect that is a stand-in for now (below). Four things decide it:
- Random numbers are Surface Studio's own. A noise, a scatter or a random colour has the same character as the original's (the same size of feature, the same spread of grays), not the same pixels. A material built on noise looks like a sibling of the original, as a new seed would.
- Everything else is measured. For each node, the same inputs were given to the source application and to Surface Studio and the two results compared, until the difference could no longer be seen. Over the 7,064 such nodes compared so far, 95 in 100 land within one gray level in 256 of the original (the mean difference over the image) and 98 in 100 within three.
- Two effects are stand-ins. The water level and painted-metal weathering nodes are Surface Studio's own versions, set from the names of the original's settings and not yet measured against it. A material that leans on one will look different, and the report says so under the node.
- Small differences add up. A graph strings dozens of nodes together, and a mask cut with a hard threshold can turn a tiny difference into a visible one. That is what Matching the look, below, is for.
Placeholders
A node Surface Studio can't build yet becomes a Placeholder node. It keeps the original's pins, so every wire still lands; its settings as text, so it can be rebuilt by hand; and advice saying what to use instead. It outputs black, so the rest of the graph still evaluates. Where an output has the same name as one of its inputs (a material in, the same material out), what used that output is wired to what fed the input, so the graph still shows something sensible. Placeholders are drawn flagged.
What never comes across
- .sbsar files are never opened, read or searched for. They are compiled, and reading them is off limits. A node that uses one stands in as a placeholder with a Texture input: render the map it makes in the source application, import it as a texture and plug it in, or put a Surface Studio node in its place.
- Fonts: a Text node names a font installed on the computer it was made on. Surface Studio doesn't copy system fonts (they are licensed); it draws with Roboto and the report names the font, so you can set Font to a font asset of your own.
- Settings the report lists as not carried keep the Surface Studio node's default.
Matching the look
When an imported material looks off, open the graph side by side with a render of the original and work from the output back: the 2D preview of each node shows where the picture first goes its own way, and the report says which settings were not carried there. Start with the nodes the report lists as Missing or Counterpart (they output black until replaced), then anything random that a hard cut depends on: try another Seed on that node before changing anything else. Most fixes are a setting or two.
Many files at once
To see what a whole folder of .sbs files would need before importing any, run this in the editor's console (the Cmd box at the bottom):
SurfaceStudio.SbsReport C:/My Materials
It reads every .sbs under the folder, makes no assets, and writes one summary of what isn't supported yet to Saved/SurfaceStudio/ImportReports/Summary.md: the nodes by status, then each kind of gap ranked by how often it is used. Quote a path that has spaces.
Performance
Everything below was measured on one machine, an RTX 4090 with a 32-thread processor, in Unreal Engine 5.8. Other cards scale with their speed and memory; the shape of the numbers (what is cheap, what is not) holds everywhere.
Graphs
- A 60-node graph (noises, levels, blends, blurs and normals): dragging a value updates the preview (at 512) in about 8 ms, 4 ms of it on the graphics card. A full evaluation at 2048 takes 23 ms the first time at that size (memory for every result is set aside then) and 9 ms after; at 4096, 57 ms and 16 ms.
- A graph rendered at 2048 and shrunk to 512 matches the 512 render to 49.8 dB or better on every node (smooth nodes 64 to 87 dB): a graph looks the same at every size, only sharper.
- A graphics card that is already working runs faster: the same 2048 evaluation measured three times slower right after light work than after heavier work. The first drag after a pause can feel slower than the next.
Layers and painting
- A Paint Project's stack of 20 Fill layers, each masked by Edge Wear, on a 2048 texture set: a full evaluation takes about 6 ms. Dragging the top layer's colour updates the viewport in about 1 ms, the bottom layer's (every layer above it worked out again) in under 2 ms. These are flat layers; layers made of graphs cost what their graphs cost.
- The starter Worn Painted Metal over a Fill on a 2048 set: a full evaluation about 3 ms; dragging its Wear updates the viewport in about 2.5 ms.
- A 4096 texture set of 20 layers (a Paint layer under 19 masked Fills), shown at 2048 as the viewport shows it: a brush dab shows in about 2.6 ms, 0.8 ms of it on the graphics card. After a stroke of 30 dabs, the stack is worked out again over the stroke's part of the set in about 3.4 ms. Shown at 4096 instead, both take about the same.
- A dab's own work on the graphics card: about 0.1 ms on a 2048 set, 0.2 to 0.5 ms on a 4096 set. The depth test, each tip and each projection add 0.1 to 0.2 ms a dab on a 4096 set.
- Preparing a 4096 set for painting (the first time, or after a size change): about 0.7 s, in the background.
Video memory
While painting that 4096 set of 20 layers, about 2.1 GB of video memory was in use. Most of it is the cache of results (Cache Budget MB, 1536 by default); then the mesh's layout for the brush (about 450 MB for a 4096 set), the viewport's textures (48 MB), the paint itself (32 MB in that test) and the strokes' undo steps (up to Undo VRAM Budget MB).
The Paint Editor keeps only the current texture set's results in video memory. With four sets at 1024, one set's results took 92 MB where all four would have held 368 MB.
On a card with 8 GB
Lower Cache Budget MB to about 768 for 4096 work, and keep texture sets at 2048 while building a look, going to 4096 only to export. The cache only saves recomputation: a smaller one never changes the result.
Baking
Ambient Occlusion at 2048 with 128 rays, for a 100,000-triangle low mesh and a 2,000,000-triangle high mesh: 5.2 to 5.4 s with the rays on the graphics card, 8.7 to 9.1 s on the processor; about 3.6 s of either is preparing the meshes. Starting a bake holds the editor for under a tenth of a second; the rest runs in the background, and the editor keeps drawing.
Texture This Mesh on the engine's material preview mesh (58,540 triangles, 3 slots) at 2048: the bake about 3.5 s; from the right click to painting, 10.2 s with the mouse.
Custom nodes
New HLSL takes about two seconds to compile (measured once; code that compiled before is quicker, from the shader cache). Until a material node's shaders are ready it shows black with compiling beside it, and the editor stays responsive.
In a game
A packaged game rendering a graph through Render Surface Graph matched the editor's export of it to 0.0005, the precision of 16-bit floats. Rendering costs what the graph costs in the editor; render once and keep the result, rather than every frame.
How it works
For the curious, and for anyone who wants to predict what a graph will do: how Surface Studio evaluates, caches, previews, tiles and stores precision.
A graph is a function
A graph is a pure function of its parameters, its seed and its output size: the same graph gives the same pixels every time on the same graphics card, bit for bit, and within a tiny tolerance across cards. Nothing depends on what you did before, on the time, or on the order you made things in.
Only what changed is recomputed
Every node's result is kept in video memory under a key made of the node's kind and version, its settings, the keys of its inputs, its size and its seed. Change one value and only that node, and the nodes after it, run again; everything else comes from the cache. The cache is bounded by Cache Budget MB, and the least recently used results leave first.
A node's problems (an empty input, a missing map) are kept with its result, so they are shown again whenever that result is used from the cache, not only on the run that found them.
Previews while you drag
While a value drags, the graph is evaluated at its size divided by Preview Divisor (4 by default), never below Preview Minimum (256), so it keeps up with the mouse. On release it runs at full size. The preview and the full result are kept apart, so dragging never throws the full one away.
Phases and material nodes
Material, Pixel Processor and HLSL nodes draw through Unreal's material system, on the game thread. A graph with them runs in phases: the graphics card computes everything that doesn't wait on a material node and keeps it; the material nodes whose inputs are ready draw; the next phase continues from there. The status line counts the phases. A graph without them runs in one go.
Tiling
Every output tiles. Noise uses whole-number lattice periods, and every filter that reads neighbours wraps at the edges, so the left edge continues the right and the top the bottom. The 2 x 2 view shows it.
Tiling is checked exactly, node by node, not by eye: a node with inputs must wrap, so moving its inputs half the image must move its output by the same amount, texel for texel; a generator must repeat, so rendered starting half the image along it must give the same texture moved by half. Each check has a control that must fail (a two-times zoom, which cannot tile; a ramp, which doesn't repeat).
Sizes are shares of the texture
Sizes and distances are in UV units (fractions of the texture) rather than texels, so a graph looks the same at 512 and at 4096, only sharper. Edges that would be a hard texel step (Threshold, Quantize, cell borders, shapes) are softened over about one texel, so they don't shimmer between sizes. Reads cover each texel's footprint (from a matching mip level), so shrinking and warping neither shimmer nor blur.
Precision
Gray and colour images are stored as 16-bit floats, which keeps memory low and allows values outside 0 to 1. Some inputs read the tiny differences between neighbouring texels: a Warp's Gradient, a Slope Blur's Slope, Normal from Height, and the edges Threshold and Quantize soften. A slope magnifies 16-bit steps into visible noise, so whatever feeds those inputs, through any Reroutes, is stored at 32 bits automatically. Distances and Flood Fill always store 32 bits. Any node can be set to 32 bits by hand (High Precision).
Seeds
Each random node's seed comes from the graph's Seed, the node's own identity and the node's Seed setting. That is why two copies of a noise differ, why the graph's Seed changes everything at once, and why a copied graph looks the same as the original.
Mesh maps that light without seams
The baker prepares the low mesh exactly as Unreal's mesh build does (recomputed or imported normals, weighted normals, MikkTSpace tangents, build scale) and solves the Normal map for the frame Unreal's shading builds from it. So a baked normal map lights the low mesh as the high one, on both sides of every UV seam.
Tips and troubleshooting
Things that help, and what to do when something looks wrong.
Building masks
- Noise to mask: Histogram Scan is the usual way. Raise Position and more of the image turns white, the brightest parts first; Contrast sharpens the edge. A Levels with its input range reversed doesn't turn an image over (its Output Low above Output High does, or use Invert).
- Break up a straight edge: feed a noise into Edge Wear's or Cavity Dirt's Breakup input, or multiply a mask by Clouds.
- Per-cell variation: every cell pattern's Cell Random output, and Voronoi's, is one gray per cell. Put it through a Gradient Map for per-cell colours, or Levels for per-cell heights.
- Crisp warped edges: a warp stretches parts of an image, and stretched sharp edges soften (the input has only so many texels). Warp a soft mask and sharpen it after with Histogram Scan, or work at a larger size.
- Flood Fill's random values (to Random Gray, to Color) come from each island's texels, so the window's smaller preview can show other values than the exported textures. The exported textures are always at the graph's size.
Looks
- Lay the "over what is below" starters (Mud Splash, Moss, Dust, Soot, Grime) over another material: on their own they have nothing under them.
- Heights add up through a stack, so a scratch layer's negative Height cuts into the paint below. Give a layer only Roughness (untick the other channels) to change the shine alone.
- Thickness masks need a mesh whose thickness varies; a solid block shows all or nothing.
- A Smart Material's Group is yours to open: change any layer inside, add masks, and Save as Smart Material to keep the new version.
When something looks wrong
| What you see | What it means | What to do |
|---|---|---|
| A node shows black with a bubble | It couldn't do its work; the status line says why | Chapter 19 lists every message. Most often an input is empty or a mesh map is missing. |
| A node shows compiling | A material node's shaders aren't ready yet | Wait; the graph updates when they are. |
| A Smart Mask or Edge Wear is black | No mesh maps to read | In a graph, set the graph's Preview Bake Set; in a Paint Project, set its Bake Set and bake it. |
| Wear shows nowhere, or everywhere | The Bake Set's Curvature is for a different mesh or size | Bake again. Edge Wear's Amount spreads it from the sharpest edges. |
| A seam line on the mesh's normal | Height detail crossing a UV island edge | Make sure the Bake Set has the UV Islands map, which the set's Normal reads by itself. |
| The 3D view shows no Height | Height isn't shown in 3D on its own | It shows through the Normal when the texture set has Height among its channels, and through the material's parallax after export. |
| An asset shows an icon instead of a picture | It was never saved from its window | Open it and save. |
| Thumbnails or the Shelf lag | The thumbnail pool is busy | They fill in over a few seconds. |
| The paint stops while the hint reads Preparing the mesh for painting… | The mesh's layout for the brush is being made | A second or less; then paint. |
| A stroke across a seam paints one side only | Painting in the 2D tab, by UV distance | That is by design in 2D; paint in 3D to cross seams. |
| Undoing a stroke does nothing | The stroke's undo step was let go past Undo Memory Budget MB | Raise the budget in Project Settings, or save more often. |
| Export writes _2 textures | A texture of that name exists that this graph didn't make | Export never overwrites another's asset; rename or delete the old one. |
| A cooked texture looks old | The cook's helper couldn't render | Saved/Logs/SurfaceStudioCookTextures.log says why; the texture cooked as exported. |
| The editor is slow to start the first time | Shaders compiling | Once. |
| Memory pressure on an 8 GB card | The result cache is sized for larger cards | Lower Cache Budget MB. |
Keeping work safe
- The starters live in the plugin's folder, which an update replaces: duplicate a starter into your project before changing it.
- Graphs export to JSON that compares cleanly in version control; keep JSON copies of graphs you care about.
- Export never overwrites assets it didn't make, and nothing in Surface Studio changes your meshes except Export and Assign, which is one step of Undo.
Every message
Every message Surface Studio can show, where it appears, and what to do. Words between ‹ and › stand for the node, asset or file named in the message.
On nodes and in the status line
These show as a bubble on the node and, with the node's name in front, in the status line under the preview. The rest of the graph still evaluates.
| Message | Meaning | What to do |
|---|---|---|
| input ‹name› is not connected | A required input is empty; the node works on a flat default (black). | Wire the input, or leave it if the default is what you want. |
| input ‹name› is ‹kind›, the first is ‹kind› | An input carries a different kind of image (gray or colour) from the node's first input; A passes through. | Wire the same kind, or convert: Grayscale or Channel Select make gray from colour, Merge or Gradient Map make colour from gray. |
| did not finish | The node's work on the graphics card was not completed. | Change something to evaluate again. If it stays, the Output Log has the reason. |
| wrote nothing to output ‹n› / has no emitter | A custom node produced nothing. | For your own node class: it must write every output. |
| no graph chosen | A Subgraph node with no graph set. | Choose one in its details. |
| subgraphs nested more than 16 deep | Graphs inside graphs past the limit. | Flatten one level. |
| ‹graph› contains this graph, so it would contain itself | Refused when choosing a subgraph that would loop back. | Choose another graph. |
| Parameter ‹name›: its ‹node or setting› is gone | A parameter points at a node or setting that was deleted. | Take the parameter off in the graph's details, or promote the setting again. |
| no Bake Set: choose one, or give the graph a Preview Bake Set (a Paint Project gives its own) | A Mesh Map node has no maps to read. | Pick a Bake Set on the node, or set the graph's Preview Bake Set. |
| no mesh maps: give the graph a Preview Bake Set (a Paint Project gives its own) | A Smart Mask node has no maps to read. | Set the graph's Preview Bake Set; in a Paint Project, its Bake Set. |
| <Bake Set> has no ‹map› map: tick it in the Bake Set's maps and press Bake | The map the node needs was not baked. | As it says. |
| the ‹map› map is not loaded yet | A Bake Set opened a moment ago is still getting its maps ready. | Wait; the graph updates when they are. |
| ‹asset› is not there | A texture or Bake Set the node refers to is missing. | Choose another. |
| no texture chosen, or it is not loaded yet | A Texture node without a texture. | Choose one. |
| no image file chosen | An Image node without a file. | Choose one. |
| could not read ‹file› (PNG, TGA, EXR and TIFF files are read) | The file is missing or not an image of those kinds. | Check the path and format. |
| could not make a texture of ‹file› (‹w› x ‹h›) | The image could not be turned into a texture (too large, or an unsupported layout). | Resize or re-save the file. |
| has no material chosen / has no material function chosen | A Material or Pixel Processor node without one. | Choose one. |
| compiling | A material node's shaders are being compiled. | Wait; the node updates when they are ready. |
| needs the editor | A Pixel Processor or HLSL node evaluated outside the editor (in a game). | Bake the result to a texture before shipping, or use other nodes. |
| input name ‹x› is used twice or is taken (UV, Size and Parameters are) | An HLSL node's input list has a duplicate or a reserved name. | Rename it. |
| input name "‹x›" is not one HLSL can use (letters, digits and underscores, not starting with a digit) | An HLSL input name the compiler can't take. | Rename it. |
| The compiler's first error | HLSL or a material that doesn't compile. | Fix the code; the error names the line. |
On the grid
| Message | Meaning |
|---|---|
| Connect an output to an input | A wire was dragged between two inputs or two outputs. |
| A node cannot feed itself | The wire would go from a node back into itself. |
| That would make a loop | The wire would make a cycle through other nodes. |
| ‹kind› cannot feed a ‹kind› input | Gray into a colour-only pin, colour into a gray-only pin, or a Material into a pin that isn't one. |
| Replace the input's wire | The input already has a wire; dropping replaces it. |
Bake Sets
Shown in the Bake Set's status line, or as the bake's result.
| Message | Meaning | What to do |
|---|---|---|
| Choose a low mesh to bake / No mesh to bake / No Bake Set | Nothing to bake. | Set Low Mesh. |
| ‹mesh› has no source geometry for LOD 0 | The mesh's first level of detail has no editable geometry (a mesh imported without it, or a Nanite-only one). | Re-import the mesh with its source geometry. |
| ‹mesh› has no triangles in LOD 0 | An empty mesh. | Choose another. |
| ‹mesh› has no UV channel ‹n› | The UV Channel setting names a layout the mesh lacks. | Set UV Channel to one it has. |
| The mesh was prepared for UV channel ‹n›, the bake asks for ‹m› | The UV channel changed while a bake ran. | Bake again. |
| This Bake Set is already baking | Bake pressed during a bake. | Wait, or Cancel. |
| Unknown map ‹n› | A map this version doesn't know (a newer project in an older plugin). | Update the plugin. |
| The GPU did not answer the bake's rays for two minutes | The graphics card did not return the rays' results. | Bake again; if it repeats, turn Rays on the GPU off in Project Settings and report it. |
| … rays on the CPU, since ‹reason› | The rays went to the processor: no graphics card, a mesh with fewer than two triangles, or a mesh whose structure would take more than 2 GB of video memory. | Nothing; the maps are the same, only slower to make. |
| The maps are up to date | Bake pressed with nothing changed. | Nothing to do. |
The Paint Editor
| Message | Meaning | What to do |
|---|---|---|
| Choose a Bake Set in the project's settings: the mesh-aware masks read its maps. | The project has no Bake Set. | Set one and bake it. |
| Painting is not possible on this mesh: the mesh has no UVs to paint in | The mesh has no UV layout. | Unwrap the mesh in your modelling tool, or let Unreal generate UVs. |
| Preparing the mesh for painting… | The brush's layout of the mesh is being made in the background. | Wait a moment. |
| Laying the paint again at the new size… | The texture set's size changed; strokes are being relaid. | Wait a moment. |
| In the Output Log: a stroke's undo step was let go | Past Undo Memory Budget MB, the oldest steps are dropped. | Raise the budget if you need deeper undo. |
Texture This Mesh
| Message | Meaning | What to do |
|---|---|---|
| Texture This Mesh could not start: ‹reason› | Shown as a notification. The reason is one of the Bake Set messages above, or ‹asset› is not a mesh Surface Studio can paint / No mesh. | Choose a static or skeletal mesh. |
| The bake notification's progress, then done or cancelled | The bake ran, ended or was cancelled. | A cancelled bake opens the project unbaked; bake from the Bake Set. |
JSON
| Message | Meaning |
|---|---|
| Imported ‹graph› (unsaved) | Read in; save it to keep it. |
| Imported ‹graph› (unsaved), ‹n› parts left out: see the log | Some nodes, settings or wires weren't known; the Output Log lists them. |
| Not imported: ‹reason› | The file could not be read as a graph. |
| Could not write ‹file› | The file could not be saved (a locked or read-only path). |
| Wrote ‹file› | Done. |
Texture Graph import
| Message | Meaning |
|---|---|
| ‹node›: mapped / approximated: ‹what differs› / placeholder: ‹what to do› | The report's line per node (chapter 15). |
| ‹graph› could not be read: this version of Texture Graph has no ‹part› | The Texture Graph plugin installed is older or newer than the reader expects. |
| ‹graph› has not made its graph yet: open it in Texture Graph once, or convert its parent | A Texture Graph Instance whose graph hasn't been built. |
Importing .sbs files
| Message | Meaning |
|---|---|
| ‹file›: ‹n› graphs, ‹n› nodes: ‹n› mapped, ‹n› approximated, … | The import's summary (chapter 16). |
| A node's line, with what did not come across after it | Every node that isn't simply mapped; click it to open the graph on that node. |
| ‹file› was not imported: ‹why› | The file could not be read as an .sbs package. |
| The full report: ‹path› | Where the Markdown report was saved. |
| This graph depends on ‹file›, not read: stands in as a texture input | The node's graph is in a compiled .sbsar, which is never opened. Plug a map rendered from it into the placeholder's Texture input, or replace it. |
| Its package (‹file›) was not found: put it where the .sbs expects it and import again | A dependency the .sbs names isn't at its path, nor beside it under the same name. |
| Surface Studio's ‹node› node does this job: put one in its place | A placeholder for a node with a counterpart whose settings don't carry over yet. |
| Surface Studio has no node for this yet | A placeholder for a node with no counterpart. |
| the link from node ‹a› to node ‹b›'s ‹pin› was not carried | A wire between pins whose kinds don't match, or to a pin the made node doesn't have. |
| its font, ‹font›, is the system's and is not brought in | A Text node: Roboto draws instead; set Font to your own font asset. |
| its FX-Map settings ‹names› are not carried / its FX-Map functions on ‹names› could not be written | Parts of an FX-Map's steps that keep their defaults. |
| node ‹a›'s value goes to node ‹b›'s ‹pin›, which is not a value pin | A value processor feeding a graph's own value output, which Surface Graphs don't have. |
Cooking
In the cook's log, for a texture made from a graph that could not be made again (it cooks as it was exported):
| Message | Meaning |
|---|---|
| its graph is not in the project | The graph was deleted or moved. |
| its result could not be read / could not be unpacked / is not one this version reads | The helper's output was unreadable. The helper's own log, Saved/Logs/SurfaceStudioCookTextures.log, has the detail. |
| its result was made from an earlier version of its graph | The graph changed after the helper ran. |
| no result was made for it | The helper didn't reach this texture (it failed earlier). |
Glossary
The words this guide uses, in one place.
| Word | Meaning |
|---|---|
| Alpha | The fourth channel of a colour image, usually meaning coverage or transparency. Also: an image used as a brush tip's shape (the Alpha tip), and the Shelf's tab of such images. |
| Ambient Occlusion (AO) | How hidden a point is from light coming from all around: dark in creases and corners, white in the open. A channel, and a mesh map. |
| Bake, Bake Set | Measuring a mesh's shape into mesh maps; the asset that holds them. |
| Base Color | The surface's own colour, with no light or shadow in it. |
| Blend mode | How one image combines with another (Multiply, Screen, Overlay and so on). |
| Cage | With a high mesh, the distance in front of and behind the low surface within which the baker looks for the high one. |
| Channel | One property of a material as an image: Base Color, Normal, Roughness, Metallic, Height, Ambient Occlusion, Emissive, Opacity. Also one of a colour image's four components (red, green, blue, alpha). |
| Curvature | How a surface bends: outward on edges, inward in creases. A mesh map. |
| Dab | One stamp of the brush; a stroke is many dabs along the mouse's path. |
| Dilation | Growing a map's texels past the edges of its UV islands, so filtering at seams never reads empty space. |
| Emissive | Light the surface gives off. |
| Fill | A layer of flat material values; its masks give it its shape. |
| Graph, Surface Graph | A texture made from nodes; the asset. |
| Graph Input | A node that becomes an input pin when the graph is used as a subgraph. |
| Gray image, colour image | One value per texel; four values (red, green, blue, alpha) per texel. |
| Group | A layer holding other layers. A Smart Material lands as one. |
| Height | How high each point stands. A channel, and a mesh map. |
| High mesh, low mesh | A detailed mesh and the lighter one that stands for it in the game; baking carries the detail across. |
| Island | A UV island: one flat piece of the mesh's UV layout. Also a Flood Fill island: one separate shape in a mask. |
| Layer | One material laid over everything below it in a stack. |
| LOD | Level of detail: a mesh's versions at different triangle counts. Baking and painting use LOD 0. |
| Mask | A gray image saying where a layer shows: white shows it, black hides it. |
| Mask stack | A layer's masks, combined top to bottom. |
| Material | In Unreal, what a surface is made of, described by its channels. In Surface Studio, also a bundle of channels on one wire (a Material pin). |
| Material instance | A copy of a master material with its own textures and values plugged in; what Export makes. |
| Material slot | One of the places on a mesh a material goes; each gets its own texture set. |
| Mesh map | An image of one aspect of a mesh's shape, baked into a Bake Set. |
| Metallic | Whether the surface is metal (white) or not (black). |
| Mip | A smaller, averaged copy of a texture; textures keep a chain of them. |
| Node | One step in a graph. |
| Normal, normal map | The direction a surface faces at each point, stored as colour, so bumps and grooves catch the light. |
| Octave | One layer of a noise, each twice as fine as the one before. |
| Opacity | Where the surface is there (white) or cut away (black). Also how much a layer, mask entry or stroke shows. |
| Output Template | How channels pack into textures, and the material they feed. |
| Paint Project | The asset that textures one mesh: its texture sets, layers and paint. |
| Parameter | A setting brought to the front of a graph, to change without opening it. |
| Pin | A node's input or output. |
| Procedural | Made by steps (nodes) rather than painted or photographed. |
| Roughness | How rough (matte, white) or smooth (glossy, black) a surface is. |
| Seam | Where the UV layout is cut: the edge between two UV islands. |
| Seed | The number random nodes start from; change it for another variation. |
| Smart Material | A whole look of layers and masks that reads mesh maps, so it fits any mesh. |
| Smart Mask | A mask of the same kind. |
| Stand-in | The static mesh a skeletal mesh is painted on. |
| Subgraph | A graph used inside another as one node. |
| Texel | One pixel of a texture. |
| Texture | An image the graphics card reads; sizes are powers of two. |
| Texture set | One material slot's textures and its stack of layers. |
| Thickness | How thin a mesh is behind its surface. A mesh map. |
| Tiling | Repeating without a visible join: the right edge continues the left, the bottom the top. |
| UV | The place on a texture each point of a mesh's surface maps to (U across, V down). |
| Wire | A link from an output pin to an input pin. |
Settings reference
Every setting outside the nodes: the project's, and those of each kind of asset Surface Studio makes, as their details panels show them, with defaults and ranges.
Project settings
. They apply to the whole project and everyone working on it.
Cache
| Setting | Default | Range | What it does |
|---|---|---|---|
| Cache Budget MB | 1536 | 256 to 16384 | VRAM kept for node results, in megabytes. The least recently used results leave first. |
Preview
| Setting | Default | Range | What it does |
|---|---|---|---|
| Preview Divisor | 4 | 1 to 8 | While a value drags, graphs evaluate at their size divided by this. |
| Preview Minimum | 256 | 64 to 1024 | The smallest size a dragging preview evaluates at. |
Undo
| Setting | Default | Range | What it does |
|---|---|---|---|
| Undo VRAM Budget MB | 1024 | 64 to 16384 | VRAM kept for undoing paint strokes, in megabytes. Past it, the oldest strokes' undo steps are read back and kept in memory, compressed; undoing one of them uploads it again. |
| Undo Memory Budget MB | 4096 | 64 to 65536 | Memory kept for paint strokes' undo steps read back from VRAM, in megabytes (compressed). Past it, the oldest are let go, and undoing them does nothing (the log says so). |
Painting
| Setting | Default | Range | What it does |
|---|---|---|---|
| Stroke Log Dabs | 200000 | 1000 or more | The most dabs a Paint layer's or Paint Mask's stroke log keeps. Past it, its strokes so far are folded into its paint; a later change of its texture set's size lays that paint resampled (not exact) and the strokes since. |
Baking
| Setting | Default | Range | What it does |
|---|---|---|---|
| Rays on the GPU | On | Casts the rays of Ambient Occlusion and Thickness bakes on the GPU. The maps are the same as the CPU's to within single precision. Off, or where the GPU cannot cast them, they are cast on the CPU, and the Bake Set's message says why. |
Output
| Setting | Default | Range | What it does |
|---|---|---|---|
| Regenerate Graph Textures When Cooking | On | When the project cooks with a GPU (a cook run with -AllowCommandletRendering), textures exported from graphs are made again from their graphs as they load, so what ships is the graph's even if a texture was left stale. Without a GPU, or off, they cook as they are. |
Surface Graph
A graph's own settings: its details with nothing selected (chapter 4).
| Setting | Default | Range | What it does |
|---|---|---|---|
| Output Size | 2048 | 256 to 8192 | A power of two from 256 to 8192. |
| Output Height | 0 | 0 to 8192 | The graph's height when it differs from Output Size (a power of two from 16 to 8192); 0 for a square graph. |
| Seed | 0 | The number every random node in the graph starts from. Change it for another variation of the whole graph. | |
| Output Template | none | How Export packs the graph's channels into textures, and the material instance it makes for them. | |
| Node Storage | Float | How the nodes whose Storage is As Its Graph keep their results. Choices: Float: 16-bit floats, 32-bit with High Precision: any value; 8-bit (0 to 1): 8 bits a channel, each result held to 0..1; 16-bit (0 to 1): 16 bits a channel, each result held to 0..1; As Its Graph: The graph's Node Storage (its graph's settings, or as the Subgraph node holding it keeps its results). | |
| Node High Precision | Off | With Node Storage Float, those nodes' outputs as 32-bit floats. | |
| Node Storage from Subgraph | Off | Inside a Subgraph node, those nodes keep their results as the Subgraph node does instead (Node Storage applies when the graph is worked on by itself). | |
| Preview Bake Set | none | Mesh maps (a Bake Set) for the mesh-aware nodes that read the context's, while this graph is worked on by itself: a Smart Material or Smart Mask shows something on a real mesh. A Paint Project sets its own instead. | |
| Parameters | none | The graph's parameters, in the order they are shown: settings of its nodes promoted to the graph's face (with the Promote button on a node setting's row). | |
| Value Inputs | none | Values the graph's expressions read by name, set by a Subgraph node holding the graph. | |
| Functions | none | Named expressions the graph's other expressions call. |
Bake Set
A Bake Set's details (chapter 7).
| Setting | Default | Range | What it does |
|---|---|---|---|
| Low Mesh | none | The mesh the maps are laid out for, in its UV channel (Settings). | |
| High Mesh | none | Optional: a detailed version of the same shape, read into the low mesh's maps through the cage. Without one, the low mesh is read itself (the Normal map comes out flat). | |
| Maps | 511 | The maps to bake. | |
| Settings | — | How the maps are baked: their size, samples, dilation, cage and rays. | |
| Baked | none | The maps baked so far. |
Bake settings
| Setting | Default | Range | What it does |
|---|---|---|---|
| Resolution | 2048 | The maps' size in texels. Choices: 512; 1024; 2048; 4096. | |
| Samples Per Texel | 4 | Each texel averages its own samples; nothing blurs across texels. Choices: 1: One sample per texel: the fastest; 4: Four samples per texel, averaged: smoother edges; 16: Sixteen samples per texel, averaged: the smoothest edges, the slowest. | |
| UV Channel | 0 | 0 to 7 | The UV channel the maps are laid out in. Tangent frames always follow UV channel 0, as Unreal's do. |
| Dilation | 16 | 0 to 64 | Texels each map grows past its UV islands, counted at 2048 and scaled with the resolution; 0 turns it off. |
| Cage Front | 0.02 | 0 to 1 | How far outside the low mesh rays start looking for the high mesh, as a fraction of the low mesh's largest side. |
| Cage Back | 0.02 | 0 to 1 | How far inside the low mesh rays look for the high mesh, as a fraction of the low mesh's largest side. Height maps the span from Back (0) to Front (1). |
| Rays | 64 | 16 to 256 | Rays per sample for Ambient Occlusion and Thickness. |
| Occlusion Distance | 0.25 | 0.001 to 1 | Ambient Occlusion: occluders further than this do not count, as a fraction of the low mesh's largest side. |
| Thickness Distance | 0.25 | 0.001 to 1 | Thickness: the depth that reads as fully thick, as a fraction of the low mesh's largest side. |
Paint Project
A Paint Project's details (chapter 9).
| Setting | Default | Range | What it does |
|---|---|---|---|
| Mesh | none | The mesh painted. For a skeletal mesh, this is its static stand-in. | |
| Source Skeletal Mesh | none | The skeletal mesh this project textures, when Mesh stands in for it (its reference pose): Export and Assign puts the materials on this mesh's slots. | |
| Bake Set | none | The mesh maps the stack's mesh-aware nodes read. | |
| Texture Sets | none | A texture set for each of the mesh's material slots, each with its own layers. |
Texture set
Each texture set's settings.
| Setting | Default | Range | What it does |
|---|---|---|---|
| Slot | none | The material slot this texture set belongs to. | |
| Resolution | 2048 | The working size; fills are resolution-independent, so it can change at any time. Choices: 512; 1024; 2048; 4096; 8192. | |
| Channels | 63 | The channels this texture set makes. | |
| Output Template | none | How Export packs this set's channels into textures, and the material instance it makes (UE Standard when empty). |
Layers
What every layer has (chapter 9):
| Setting | Default | Range | What it does |
|---|---|---|---|
| Name | empty | The layer's name in the stack. | |
| Visible | On | Show the layer. A hidden layer changes nothing. | |
| Opacity | 1 | 0 to 1 | How much the layer shows, times its masks. |
| Blend Mode | Copy | How colour and gray channels join the stack below; Normal and Height follow Material Blend's own rules. Choices: Copy: B replaces A; Add: A plus B: brightens. Not held to 0..1, so values can rise above 1; Subtract: A minus B: darkens. Not held to 0..1, so values can fall below 0; Multiply: A times B: darkens. White in B leaves A as it is, black makes black; Divide: A divided by B: brightens. Held to 0..1; Screen: The opposite of Multiply: brightens. Black in B leaves A as it is, white makes white; Overlay: Multiply where A is dark, Screen where A is light: more contrast, A's lights and darks kept; Soft Light: A gentler Overlay: B lightens or darkens A softly; Hard Light: Overlay decided by B instead of A: Multiply where B is dark, Screen where B is light; Darken: The darker of A and B; Lighten: The lighter of A and B; Difference: How far apart A and B are: black where they are equal; Dodge: Brightens A by B, strongly towards white. Held to 0..1; Burn: Darkens A by B, strongly towards black. Held to 0..1; Add Sub: B above mid gray adds to A, below mid gray takes away: mid gray leaves A as it is; Switch: B where the mask is at least a half, A elsewhere: a hard switch, ignoring Opacity. | |
| Channels | 255 | The channels the layer changes; the others hand on the stack below. | |
| Masks | none | The layer's mask stack: where the layer shows. With no entries it shows everywhere. |
Paint layer
| Setting | Default | Range | What it does |
|---|---|---|---|
| Load Brush | none | A Surface Brush to paint with: choosing one takes its settings and values onto this layer's brush. | |
| Brush Settings | — | How the brush lays it on. |
Group
| Setting | Default | Range | What it does |
|---|---|---|---|
| Parameters | (Value=None) | The promoted settings' values: an edit here reaches its node. |
Mask entry
Each entry of a layer's mask stack.
| Setting | Default | Range | What it does |
|---|---|---|---|
| Enabled | On | Use this entry. Unticked, the mask stack is as if it were not there. | |
| Blend Mode | Multiply | How this entry combines with the mask so far. Choices: Copy: B replaces A; Add: A plus B: brightens. Not held to 0..1, so values can rise above 1; Subtract: A minus B: darkens. Not held to 0..1, so values can fall below 0; Multiply: A times B: darkens. White in B leaves A as it is, black makes black; Divide: A divided by B: brightens. Held to 0..1; Screen: The opposite of Multiply: brightens. Black in B leaves A as it is, white makes white; Overlay: Multiply where A is dark, Screen where A is light: more contrast, A's lights and darks kept; Soft Light: A gentler Overlay: B lightens or darkens A softly; Hard Light: Overlay decided by B instead of A: Multiply where B is dark, Screen where B is light; Darken: The darker of A and B; Lighten: The lighter of A and B; Difference: How far apart A and B are: black where they are equal; Dodge: Brightens A by B, strongly towards white. Held to 0..1; Burn: Darkens A by B, strongly towards black. Held to 0..1; Add Sub: B above mid gray adds to A, below mid gray takes away: mid gray leaves A as it is; Switch: B where the mask is at least a half, A elsewhere: a hard switch, ignoring Opacity. | |
| Opacity | 1 | 0 to 1 | How much of this entry is applied to the mask so far. |
Surface Brush
A Surface Brush asset keeps a brush; a Paint layer's brush has the same settings (chapter 10).
| Setting | Default | Range | What it does |
|---|---|---|---|
| Settings | — | The brush this asset keeps: its size, hardness, flow, tip, jitter, pressure, symmetry and projection. | |
| Material | — | What the brush lays: the ticked channels, at these values. |
Brush settings
| Setting | Default | Range | What it does |
|---|---|---|---|
| Tip | Round | The tip's shape. Choices: Round: A ball: everything within the radius, eased out by the hardness; Square: A square across the surface, eased out towards its edges by the hardness; Alpha: An image's red channel across the surface: white paints, black does not. | |
| Alpha | none | The Alpha tip's image: its red channel, white painting (a texture with sRGB off reads its grays as they are). An Alpha tip without one paints as Round. | |
| Angle | 0 | -180 to 180 | The tip's turn about the surface, in degrees, from the view's right. |
| Size Mode | Mesh Units | Whether the size is in the mesh's units or the viewport's pixels. Choices: Mesh Units: Size, in the mesh's units: the brush covers the same part of the mesh however near the view is; Screen Pixels: Screen Size, in the viewport's pixels: the brush looks the same size however near the view is. | |
| Size | 10 | 0.01 to 200 | Across, in the mesh's units. |
| Screen Size | 50 | 1 to 1000 | Across, in the viewport's pixels. |
| Hardness | 0.5 | 0 to 1 | How much of the radius paints at full strength; past it a dab eases out to nothing at its edge. |
| Flow | 1 | 0 to 1 | How much each dab lays on. |
| Opacity | 1 | 0 to 1 | The most one stroke lays on, however many of its dabs cross a place. |
| Spacing | 0.1 | 0.01 to 4 | The distance between dabs, as a share of each dab's size. |
| Size Jitter | 0 | 0 to 1 | Each dab's size varies by up to this share of it, either way. |
| Angle Jitter | 0 | 0 to 1 | Each dab's turn varies by up to this share of a half turn, either way. |
| Position Jitter | 0 | 0 to 2 | Each dab moves from the stroke's line by up to this share of the size, across the surface. |
| Flow Jitter | 0 | 0 to 1 | Each dab's flow drops by up to this share of it. |
| Pressure Size | Off | The pen's pressure scales each dab's size, by the curve (pressure across, the share of the size up). | |
| Pressure Size Curve | a straight line, 0 to 1 | How pen pressure (across) sets each dab's size (up, as a share of Size). | |
| Pressure Flow | On | The pen's pressure scales each dab's flow, by the curve. | |
| Pressure Flow Curve | a straight line, 0 to 1 | How pen pressure (across) sets each dab's flow (up, as a share of Flow). | |
| Pressure Opacity | Off | The pen's pressure sets the most each dab lets the stroke lay on, by the curve. | |
| Pressure Opacity Curve | a straight line, 0 to 1 | How pen pressure (across) sets the most a dab lets the stroke build up to (up, as a share of Opacity). | |
| Speed Pressure | Off | Without a pen, the stroke's speed on the screen gives the pressure: full when slow, down to Minimum Pressure at Speed For Minimum and faster. | |
| Speed for Minimum | 2000 | 1 or more | In the viewport's pixels a second. |
| Minimum Pressure | 0.2 | 0 to 1 | The pressure a stroke has at Speed For Minimum and faster. |
| Mirror | Off | Each dab is laid again mirrored across the mesh's axis. | |
| Mirror Axis | X | The axis mirrored across: each dab is laid again on the other side of the plane through the mesh's pivot, moved by Mirror Offset. Choices: X; Y; Z. | |
| Mirror Offset | 0 | Where the mirror's plane is along the axis, from the mesh's pivot, in its units. | |
| Depth Test | On | Paint only what the view sees: no paint through the mesh onto parts hidden behind it. | |
| Projection | Surface | Where the paint comes from and how it lands. Choices: Surface: The tip on the surface, the brush's values; Planar Stencil: As Surface, through a stencil image laid over the viewport: its red lets paint through; Image Projection: The Image's colour, projected from the view onto the mesh, as Base Color; Triplanar: The Image's colour, laid on the mesh along its three axes (blended by how the surface faces each), as Base Color: no seams. | |
| Stencil | none | The Planar Stencil's image: its red lets paint through (white all of it). | |
| Stencil Centre | (X=0.500000,Y=0.500000) | The stencil's centre on the viewport, as shares of its width and height. | |
| Stencil Scale | 0.5 | 0.01 to 10 | How tall the stencil is, as a share of the viewport's height (its width follows its image). |
| Stencil Angle | 0 | -180 to 180 | The stencil's turn on the viewport, in degrees. |
| Paint Outside Stencil | Off | Outside the stencil the brush paints as it would without one (off: nothing). | |
| Image | none | The image Image Projection and Triplanar lay as Base Color (times the brush's Base Color). | |
| Triplanar Scale | 50 | 0.01 or more | Triplanar: the mesh units one repeat of the image covers. |
| Triplanar Sharpness | 4 | 1 to 64 | Triplanar: how sharply the three directions part where the surface turns (1 soft, higher sharper). |
Output Template
How channels pack into textures, and the material they feed (chapter 13).
| Setting | Default | Range | What it does |
|---|---|---|---|
| Textures | none | The textures the template writes: each with its name suffix, what its red, green, blue and alpha hold, its format and compression, and the material parameter it goes to. | |
| Material | none | The material the textures feed, with legacy shading. Any material works, its parameters named as the textures say. | |
| Substrate Material | none | The same material for projects with Substrate on; without one, Material is used there too. |
Template texture
Each texture a template writes.
| Setting | Default | Range | What it does |
|---|---|---|---|
| Suffix | empty | Ends the texture's name (T_<Asset><Slot><Suffix>). | |
| R | 0 | What the texture's red holds: a component of a channel, or 0 or 1. Choices: 0; 1; Base Color R; Base Color G; Base Color B; Normal X; Normal Y; Normal Z; Roughness; Metallic; Height; Ambient Occlusion; Emissive R; Emissive G; Emissive B; Opacity. | |
| G | 0 | What the texture's green holds: a component of a channel, or 0 or 1. Choices: 0; 1; Base Color R; Base Color G; Base Color B; Normal X; Normal Y; Normal Z; Roughness; Metallic; Height; Ambient Occlusion; Emissive R; Emissive G; Emissive B; Opacity. | |
| B | 0 | What the texture's blue holds: a component of a channel, or 0 or 1. Choices: 0; 1; Base Color R; Base Color G; Base Color B; Normal X; Normal Y; Normal Z; Roughness; Metallic; Height; Ambient Occlusion; Emissive R; Emissive G; Emissive B; Opacity. | |
| A | 1 | What the texture's alpha holds: a component of a channel, or 0 or 1. Choices: 0; 1; Base Color R; Base Color G; Base Color B; Normal X; Normal Y; Normal Z; Roughness; Metallic; Height; Ambient Occlusion; Emissive R; Emissive G; Emissive B; Opacity. | |
| Format | 8-bit Colour | How the texture stores its values. Choices: 8-bit Colour: Four channels of 8 bits (0 to 255 each): colour, or packed grays; 8-bit Gray: One channel of 8 bits: a gray map such as Roughness; 16-bit Gray: One channel of 16 bits: smooth gradients, for Height; 16-bit Float Colour: Four channels of 16-bit floats: values beyond 0 to 1, such as bright Emissive. | |
| sRGB | Off | Stored as sRGB, for colour that is seen (Base Color, Emissive); off for masks, normals and heights. | |
| Compression | Default (BC1 or BC3 with A) | How Unreal compresses the texture (its Compression Settings). | |
| Parameter | none | The material's texture parameter this texture is given to. |
Exported textures
A texture exported from a graph remembers where it came from, in its Asset User Data, so a cook can make it again (chapter 14).
| Setting | Default | Range | What it does |
|---|---|---|---|
| Graph | none | The graph this texture was exported from. When the project cooks, the texture is made again from it. | |
| Template | none | The Output Template the texture was exported through. | |
| Suffix | empty | Which of the template's textures it is. | |
| Size | 0 | The size the texture was exported at. | |
| Height | 0 | Its height, when it differs from Size; 0 for a square texture. |