Channel packing
Painter export_textures maps, Designer material pack and Sampler sampler_pack share one channel packing spec:
{"maps": [
{"name": "T_Rock_MaskMap", "format": "png", "bit_depth": 8,
"channels": {"R": "metallic", "G": "ambientOcclusion", "B": "0", "A": "1-roughness"}},
{"name": "T_Rock_BaseColor", "channels": {"RGB": "baseColor", "A": "opacity"}},
{"name": "T_Rock_Normal", "channels": {"RGB": "normal"}}],
"defaults": {"opacity": 1}}- Sources: usage,
1-<usage>, or a constant0..1. Missing usages needdefaults. - No
Akey writes RGB. All sources share one resolution. Gray from RGB uses R. - Formats
png,tga,tif;bit_depth16 is PNG only.
Painter maps its own sources onto this spec; see Painter tools for the document and mesh map names it accepts.
Sampler packing
sampler_pack packs workspace maps into a new directory. The CLI form reads a JSON file with directory, sources and pack:
cavi-substance-sampler-mcp pack pack.json --jsonPacking runs on the host, not inside Sampler. The Designer material pack action uses the same spec.