Build a material from a prompt: recipes first, then customise
The fastest way to a usable material is to let the AI start from a recipe and then edit the graph it produced. A recipe is not a baked texture: it is a normal Designer graph built from Designer's own nodes, so everything after the first call is ordinary graph editing.
1. Ask for a recipe
A prompt such as "Make an old oak floor: 8 planks, warm brown, a bit of wear and dirt" usually leads the AI to call list_recipes and then:
build_material_from_recipe(
recipe="wood_planks",
params={"plank_count": 8, "wood_color": "#8a5a32",
"wear": 0.4, "dirt": 0.3})
The call creates a graph (in a new package unless you pass one) with six outputs: baseColor, normal, roughness, metallic, height and ambientOcclusion. Key parameters are exposed as graph inputs. Pass export_directory to export the maps in the same call, and output_size_log2 for the size (10 = 1024 px, the default).
The 13 recipes
| Recipe | Main parameters |
|---|---|
tiles | tiles_x, tiles_y, grout_width, tile_color, grout_color, bevel |
bricks | bricks_x, bricks_y, mortar_width, brick_color, mortar_color |
wood_planks | plank_count, planks_along, gap_width, wood_color, grain_waviness |
metal_plates | plates_x, plates_y, seam_width, metal_color |
rock_ground | rock_scale, rock_color, dirt_color, dirt_amount |
concrete | concrete_color, pores, stains, cracks |
fabric | threads, weave, gap, warp_color, weft_color |
hex_tiles | tiles_x, grout_width, tile_color, grout_color, bevel |
cobblestone | stones_x, irregularity, stone_color, dirt_color |
sand | ripples, waviness, ripple_strength, sand_color |
scales | scales_x, scale_color, edge_color, edge_tint, variation |
leather | grain_scale, creases, leather_color |
rusted_metal | rust_amount, metal_color, rust_color |
All recipes also take roughness, normal_intensity and seed, and the weathering layers wear (0 to 1, chipped or polished edges) and dirt (0 to 1, grime in the cavities, colored by dirt_color). Values are validated against their ranges before anything reaches Designer, so a typo comes back as a clear error instead of a broken graph.
wear and dirt turned on.2. Let the AI look at the result
Ask for a preview whenever something changes: get_node_preview returns the node's output to the model as a PNG image (capped at 512 px by default), so the AI can judge the result itself. Good habits to ask for:
- "Show me the baseColor and roughness outputs."
- "Run
validate_graphand fix what it finds." It reports unconnected outputs, outputs without a usage, dangling nodes, and grayscale images on a color Blend's foreground (which Designer silently ignores). - "Check the height map with
get_texture_stats." It gives per-channel min / max / mean, flat-map warnings and a tiling-seam ratio.
3. Customise the graph
Tweak the exposed inputs
The cheapest change is a graph input: "Make the gaps darker and the normal stronger" becomes list_graph_inputs and set_graph_input_values. Ask the AI to save the look as a preset with create_preset so you can switch back.
Add library nodes
Designer ships about 1000 library graphs. search_library finds them by meaning, for example "scratches", "edge wear" or "grunge", and by parameter name. A prompt like "Add fine scratches to the roughness only" typically becomes:
search_library(query="scratches")
create_library_node(...) # the hit from the search
connect_nodes(...) # into a Blend before the roughness output
set_node_properties(...) # opacity, blend mode, scale
get_node_preview(node="roughness")
Edit many nodes at once
batch_set_properties changes several nodes in one undo step, or every node matching a query or definition ("set the random seed of every noise to 42").
Undo freely
Each mutating command is one entry in Designer's undo history, so "undo the last two steps" is a call to undo, and Ctrl+Z works for you as well. The history is shared with your own edits.
4. Save and export
save_packagewrites the.sbs.export_outputswrites the maps;export_sbsarpublishes a Substance archive. Both are covered in the publishing guide.
Prompt tips
- Name numbers. "6 x 10 bricks, 3 mm mortar look" works better than "a brick wall".
- Say which map. "Only the roughness", "keep the height as it is."
- Ask for previews after each step. The model can see the result, so let it.
- Ask for exposed inputs. "Expose the rust amount as a graph input" keeps the material tweakable in Painter or an engine later.
- Mention the seed. Changing
seedgives a different variation with the same look.
Get MCP Pro for Designer
Early Access, $12 once, free updates.