Turn a single photo into a clean, tileable height map — and a full PBR material around it.
PBRCELAIN is a free desktop app that turns an ordinary photo of a surface (stone, brick, wood, tiles, fabric…) into the texture maps a game engine or 3D renderer needs: Height, Normal, Roughness and Ambient Occlusion. An AI depth model estimates the relief from the photo, the other maps are built from it, and you see the result live on a 3D preview.
pbrcelain_promo_readme.mp4
Materials generated from single photos, previewed in the built-in 3D viewport.
Ready-to-run builds for macOS (Apple Silicon) and Windows (64-bit) are on the Releases page — no Python needed. The app itself is a small download; the AI components are downloaded once, the first time you generate a Height map. On Windows with an NVIDIA graphics card you can pick the GPU (CUDA) version, about 2 GB, which runs the depth models much faster; the CPU version is about 180 MB. On a Mac they run on the GPU (about 160 MB).
Windows builds are to be signed with free code signing provided by SignPath.io, certificate by SignPath Foundation (application pending; current builds are unsigned). See the code signing policy.
The app is not notarized by Apple yet, so macOS blocks it the first time:
- Open the DMG and drag PBRCELAIN into Applications.
- Open it once. When macOS says it cannot verify the app, click Done.
- Go to System Settings › Privacy & Security, scroll down and click Open Anyway next to PBRCELAIN, then confirm.
You only need to do this once. If macOS instead says the app is damaged, run this in Terminal and open it again:
xattr -dr com.apple.quarantine /Applications/PBRCELAIN.app- Import a photo into the Albedo slot (the one that pulses).
- Select the Height slot and click Generate Height. The first run downloads the AI components and the depth model.
- Generate Normal, Roughness and Ambient Occlusion the same way, fine-tune them on the Adjustment page, then use Export to write every map to a folder.
Hover over any setting to see what it does. Projects are saved as .pcln files that
keep everything, so you can reopen and keep adjusting without re-running the model.
Important
The right model makes the biggest difference to the result.
- Depth Anything V2: deep, uneven surfaces with lots of relief, like pebbles, gravel, rocks, bark and rubble.
- Marigold: flatter, regular, patterned surfaces, like tiles, pavers, brick walls, planks and fabric.
Switch it in Height › Depth Model. If a result looks off, try the other one.
General image AIs work at a small, fixed output size, so a 4K or 8K photo loses its fine relief. PBRCELAIN's Full Resolution with Chunk Estimation runs the depth model over the photo in overlapping chunks, so the height map keeps your photo's full resolution, with no upper limit, and stays as accurate as the AI model.
PBRCELAIN also runs without its window, so scripts and LLM agents (Claude Code, Cursor, Codex…) can generate maps with one command and read a JSON answer:
PBRCELAIN generate photo.jpg --out maps/No extra setup: it is the same app binary (on macOS,
/Applications/PBRCELAIN.app/Contents/MacOS/PBRCELAIN). See the
command line guide for every option.
- How it works: the depth models, high-resolution and seamless generation, artifact correction, and how each map is derived.
- Command line: generating maps from scripts and AI agents.
- Running from source: installing with Python, GPU setup, file associations and project file details.
- Changelog: what changed in each version.
- Code signing policy: how Windows builds are signed, and what the app sends over the network (nothing about you).
PBRCELAIN is free software under the GNU General Public License v3.0.
The depth models are downloaded from Hugging Face and come with their own licenses. Depth Anything V2 Base and Large are licensed for non-commercial use only (CC BY-NC 4.0). For commercial work, use Depth Anything V2 Small (Apache 2.0), Marigold Fast (Apache 2.0) or Marigold Standard (CreativeML Open RAIL++-M).



