Material Output

Exports a complete PBR material as a collection of individual texture files with customizable channel naming.

When to Use

Use Material Output to take a finished material out of World Machine and into a game engine, renderer, or other application. Each channel (diffuse, normals, displacement, ambient occlusion, roughness, metal, and mask) is saved as its own texture file, and you can match the file names, file format, and normal map convention to what your target application expects.

How to Use

Connect a Material packet from a material creation device to the Primary Input. By default each channel is saved as an 8-bit PNG named after the project, the device, and the build resolution, with the channel’s suffix (such as _diffuse) added.

  1. Set the Common Filename template that will be used as the base for all channels
  2. Customize the channel suffixes if your target application requires specific naming conventions
  3. Select the appropriate file format (16-bit for quality, 8-bit for game engines)
  4. Set Normal Encoding to the normal map convention your target renderer or game engine expects
  5. Build, then press Write output to disk or export all outputs at once with File > Export Terrain Files…

Inputs

Port NameTypeRequired/OptionalDescription
Primary InputMaterialRequiredThe material data to export

Outputs

This device has no output ports (terminal device).

Parameters

File Settings

Common Filename – Base filename template used for all material channel files, with a browse button to pick the location. Each channel’s suffix is inserted just before the extension. Default: <project>_<name>_<res>.png. Relative paths are resolved against the project’s export folder, and the same tags as the other output devices are available (<project>, <name>, <res>, <extent>, <tile>, <increment>, and so on). Typing a .png, .tif, .jpg, or .exr extension switches File format to match.

Write output to disk – Saves all channel files now from the latest build. If the device has not been built at full resolution yet, World Machine offers to build it first.

File format – Image format for all material channels (default: PNG (8bits/channel)):

  • PNG (8bits/channel) – Standard PNG format
  • PNG (16bits/channel) – High precision PNG format
  • TIFF (8bits/channel) – Standard TIFF format
  • TIFF (16bits/channel) – High precision TIFF format
  • JPEG (8bits/channel) – Lossy compressed JPEG format
  • OpenEXR (16bits/channel) – HDR EXR format with half-float precision

Channel suffixes

These parameters set the text added to the common filename for each exported material channel:

Diffuse – Suffix for diffuse/albedo map. Default: _diffuse

Normals – Suffix for normal map. Default: _normal

Displacement – Suffix for displacement/height map. Default: _disp

Ambient Occlusion – Suffix for ambient occlusion map. Default: _ao

Roughness – Suffix for roughness map. Default: _roughness

Metal – Suffix for metalness map. Default: _metal

Mask – Suffix for mask channel. Default: _mask

Options

Exporting – Includes this device when outputs are exported with File > Export Terrain Files… and during tiled builds. Turn it off to skip this device there; Write output to disk still works. Default: enabled

Normal Encoding – The normal map convention to write. World Machine’s materials hold OpenGL-convention normals:

  • OpenGL convention (Green +Y) (default) – The normal map is written as it is.
  • DirectX convention (Green -Y) – The green channel is flipped in the exported file.

Use gloss map instead of rough map – Writes glossiness (inverted roughness: 1 minus roughness) to the roughness file instead of roughness. The file still uses the Roughness suffix, so change that suffix (for example to _gloss) to match. Default: disabled

Both options only change the exported files; the material itself, as seen by other devices, is unchanged.

Tips and Tricks

  • Only the channels present in the input material are exported
  • Example: with a Common Filename of myterrain.png, you get myterrain_diffuse.png, myterrain_normal.png, myterrain_roughness.png
  • Unity and Blender expect OpenGL-convention normal maps (green +Y); Unreal Engine and other DirectX-convention tools expect the green channel flipped. Set Normal Encoding to match your target
  • The default suffixes are ones the Material device’s Auto-detect from file… recognizes, so an exported set can be loaded back in. If you export DirectX normals, a Normals suffix of _NormalDX also lets auto-detect set the Material device’s Normal Encoding to match
  • If any channel file cannot be written (for example because the folder is read-only or the file is open in another application), the export is reported as failed
  • 16-bit formats preserve more detail but create larger files
  • Single-channel maps (displacement, ambient occlusion, roughness, metal, and mask) are saved as gray images, with the same value in the red, green, and blue channels

Older Versions

Material Output devices from older projects (the Artist Point version) do not export the mask channel and have no Mask suffix. Update the device to the current version to add it.

Updated on December 3, 2026
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support