Skip to content

Files and manifest ​

A Standalone export of rock writes:

text
rock_Height.png        16-bit grey
rock_Normal.png
rock_AO.png
rock_Curvature.png
rock_Cavity.png
rock_Roughness.png
rock_MaskMap.png       packed RGBA
rock_Albedo.png        when the input is a photo
rock_manifest.json
rock_params.json

An engine profile changes the names and the set (Engine profiles) and adds rock_IMPORT_NOTES.md.

_params.json: the recipe ​

Every parameter used for this run, in one flat JSON object. It is itself a preset: give it back with -p and you get the same files again.

powershell
pbrokkr-cli generate rock.jpg -p out\rock\rock_params.json -o out\rock_again

Keep it next to the textures. It is the answer to "how was this made?" six months later.

_manifest.json: the description ​

What each file is, for programs that read the set: file name, the map it holds, channels, bit depth, colour space (sRGB or linear), the normal convention, and the physical scale when one was set.

json
{
  "generator": "pbrgen 1.0.0",
  "profile": "standalone",
  "output_prefix": "rock",
  "size": [1024, 1024],
  "normal_convention": "opengl",
  "files": [
    { "map": "height", "file": "rock_Height.png", "channels": "gray", "bit_depth": 16, "color_space": "linear" },
    { "map": "normal", "file": "rock_Normal.png", "channels": "RGB", "bit_depth": 8, "color_space": "linear" }
  ]
}

The example is shortened; open a real manifest to see every field.

Bit depth and formats ​

FileFormat
Height16-bit PNG by default; height_bits = 8, or height_format = exr_float / exr_half
Slope16-bit PNG
Everything else8-bit PNG

The contact sheet ​

--sheet on the command line adds <prefix>_sheet.png: every map side by side with labels, plus the lit result repeated 2 by 2. It is the fastest way to judge a batch without opening an engine.