Input kinds
PBrokkR always ends with a height, and then derives the other maps from it. The input kind says how it gets that height.

| Kind | You give | How the height is made | Best for |
|---|---|---|---|
| Height map | A grey image, white = high | Used as it is, after optional clean-up | Scans, sculpted heights, heights from other tools |
| Photo / regular texture | A colour photo or an albedo | Estimated from the image: lighting removed, then detail at several sizes combined, with dark thin lines pushed down as cracks | A photo taken straight on, in soft light |
| Normal map | A tangent-space normal map | Integrated back into a height | Rebuilding the missing maps of an old asset that only has a normal |
| Generate (procedural) | Nothing | Made by a generator from a seed | Foam, bubbles, fibres, cloudy shapes: see Procedural heights |
The app guesses the kind when you open an image. On the command line, say it with --kind:
pbrokkr-cli generate wall.jpg --kind photo -p photo_rock -o out\wallHeight map
A 16-bit PNG gives the smoothest result. An 8-bit height has only 256 levels, which shows as terraces in the normal map; PBrokkR warns about it in the Log panel and you can hide the steps with height_dequantize_blur (about 0.5).
If dark means high in your image (holes drawn in white, for example), turn on Invert relief.
Photo
A photo is not a height: bright does not mean high. PBrokkR makes a plausible relief, not a measured one. It works best when:
- the photo is taken from straight above, with no perspective;
- the light is soft and even (overcast sky, shade); hard shadows become false relief;
- the surface is one material, without objects lying on it.
The most useful controls are Fine grain × large forms (which sizes of detail count) and Emphasise cracks. The seamless colour of the photo is written as the albedo.
Normal map
Choose the convention the normal map was made with (input_normal_convention: OpenGL has green pointing up, DirectX down). If the relief comes out inside-out, that is the setting to change.
Presets as starting points
A preset is a full set of parameters for a kind of input.
| Preset | Made for |
|---|---|
default | A clean height map |
foam_mat, foam_mat_seam | A foam height; the second one also makes it tile |
photo_rock | A rock or ground photo |
photo_foam_topdown | A foam photo taken from above |
from_normal | A normal map |
proc_bubbles, proc_ropes, proc_billows, proc_foam_mix | Procedural heights |
synthetic_smooth | Smooth test shapes |