Skip to content

What PBrokkR is ​

PBrokkR turns one image into a full set of PBR maps that repeat without a visible seam. You give it a height map, a photo, a normal map, or nothing at all, and it writes the textures a game engine material needs.

The app with a rock photo: adjustments on the left, the 3D preview in the middle, the maps on the right

What it makes ​

MapWhat it is for
HeightHow high each point of the surface is. Everything else comes from it.
NormalThe direction the surface faces, so light reacts to bumps that are not in the mesh.
AO (ambient occlusion)Soft shadow in crevices and valleys.
Curvature and cavityEdges and pits, used for wear, dirt and masks.
Roughness / smoothnessHow matte or shiny each point is.
Packed textureSeveral grey maps in the channels of one file (a Unity mask map by default).
AlbedoThe colour, made seamless, when the input is a photo.

See The maps for a picture of each one.

The one idea to keep ​

Height is the master map. PBrokkR first makes a good, tileable height, and then derives every other map from it with filters that wrap around the border. Two consequences:

  • If the height tiles, every map tiles. You fix a seam in one place.
  • The maps always agree with each other: the normal, the AO and the roughness describe the same surface.

Four ways to use it ​

Front endGood forStart here
The app (runs in your browser, on your computer only)Looking at the result while you move slidersYour first material
Command lineBatches, scripts, build stepsCommand line
Python APICalling the pipeline from your own toolsPython API
MCP serverLetting an AI agent (Claude, Codex, Cursor and others) make materials for youMCP

All four run the same pipeline: the same parameters write the same bytes, whichever one you use.

About the name ​

In Norse myth, Brokkr is the dwarf smith who forged Mjölnir. PBrokkR forges PBR materials: the capital P, B and R spell what it makes. The command and the Python package keep the short name pbrgen.

What it is not ​

  • Not a Unity package: it writes ordinary image files that any engine can import.
  • Not a node editor: there is one pipeline with parameters, not a graph.
  • Not an online service: nothing is uploaded, and it works without internet.