Publish .sbsar and export textures for game engines

Updated 2026-11-27 · MCP Pro for Designer 0.3.0

There are two ways to get a material out of Designer: a .sbsar (a compiled Substance archive that stays procedural in the host application) and bitmaps (plain textures any engine can read). MCP Pro for Designer does both. This guide shows the calls and the choices that matter.

1. Prepare the graph for publishing

2. Publish the .sbsar

export_sbsar(
  package="oak_floor",
  path="D:/out/oak_floor.sbsar",
  compression="auto",          # auto | best | nocompression
  expose_output_size=True,
  expose_random_seed=True,
  expose_pixel_size=False,
  icon=True)

The path must be absolute and end in .sbsar. The archive can be loaded in Substance 3D Painter (for example together with MCP Pro for Painter) and in Unreal Engine or Unity through Adobe's Substance 3D plugins for those engines. Godot has no built-in .sbsar support; export bitmaps instead.

3. Export bitmaps

export_outputs computes the graph and saves every output node. The options that matter for engines:

ArgumentValuesNotes
file_formatpng, jpg, tga, tif, exr, bmp, hdrPNG or TGA for most maps, EXR for float height.
size_log28 = 256 ... 12 = 4096Renders at that size for this export only; the graph setting is restored.
bit_depth8, 16, 16f, 32f16-bit PNG/TIF or float EXR for height maps; 8-bit is fine for base color.
color_spacesRGB, Linear, RawBase color is usually sRGB; data maps linear.
name_patterne.g. T_{graph}_{usage}Fields: graph, identifier, usage.
outputslist of identifiersExport only some outputs, e.g. ["height"].

Library instances that fix their own output format ignore bit_depth; the result reports the real pixel format so the AI can tell you. To export a single intermediate node at full size, use export_node.

Example: an 8-bit set plus a 16-bit height

export_outputs(directory="D:/out/oak", size_log2=11,
               name_pattern="T_{graph}_{usage}",
               outputs=["baseColor", "normal", "roughness", "metallic", "ambientOcclusion"])
export_outputs(directory="D:/out/oak", size_log2=11, bit_depth="16",
               name_pattern="T_{graph}_{usage}", outputs=["height"])

4. Engine notes

5. Long exports: run them as jobs

4K exports of a big graph can take longer than an MCP client is willing to wait. Run them in the background:

start_job("export_outputs", {"directory": "D:/out/oak", "size_log2": 12, "bit_depth": "16"})
get_job(job_id, wait_seconds=30)   # queued / running (elapsed) / done + result

cancel_job works while a job is queued. A compute that has started cannot be interrupted, because Designer's API has no cancel for it.

Get MCP Pro for Designer
Early Access, $12 once, free updates.

itch.io · $12

More guides