How to Make PBR Textures and a Normal Map from One Photo
Turn a photo into seamless base colour, height, normal, roughness, AO, metallic and ORM maps, preview them on a 3D sphere and save them as PNG.

Modern 3D software does not paint a surface with a single picture. It reads a set of maps: colour for what the surface looks like, a normal map for how light catches small bumps, roughness for where it shines, ambient occlusion for the shadows in its crevices, and metallic for which parts are metal. Scanned materials are lovely but expensive; a phone photo is free. The PBR Texture and Normal Map Generator turns that photo into a full set of maps in your browser.
Take a usable photo
The quality of the maps depends on the photo more than on any setting. Shoot the surface straight on, filling the frame, in soft light: an overcast day, open shade or a room lit evenly from several sides. Avoid flash and low sun, because hard shadows are read as relief. Keep the camera level so bricks and planks run straight.
Prepare the base colour
Open the photo. Crop to a square, because most engines prefer square textures, and choose 512, 1024 or 2048 pixels. Then turn on Make seamless. The picture is blended with a copy shifted by half its size, so the left edge matches the right and the top matches the bottom. The page reports the edge mismatch on a scale of 0 to 255; under about 6 tiles cleanly.
Shape the height
The height map is the heart of the set, because the normal map and ambient occlusion are calculated from it. It starts from brightness. Remove lighting is a high-pass filter that takes out large, soft changes such as one side of the photo being darker than the other, leaving the small relief. Smooth calms down noise, contrast stretches the relief, and invert flips it for surfaces where dark parts stand out, such as dark pebbles set in pale concrete.
The presets for stone, brick, wood, fabric, painted metal and bare metal set reasonable values. Start with one, then adjust while watching the sphere.
The other maps
The normal map comes from the height with a Sobel filter that wraps around the edges, so it tiles as well. Its strength sets how deep the bumps look. Choose the OpenGL convention, green up, for Blender, Godot, Unity and glTF, or DirectX, green down, for Unreal Engine and 3ds Max. If bumps look like dents in your engine, you have the wrong one.
Ambient occlusion compares every point with its surroundings at three radii and darkens the low spots. A radius close to the size of the gaps in the material, such as the mortar between bricks, works best.
Roughness starts from a base value and varies with the height; by default crevices are rougher than the worn high points. Metallic is off for stone, wood and fabric, on for bare metal, and a brightness mask for painted metal where bright worn edges show the metal underneath. The ORM map packs occlusion, roughness and metallic into one image for glTF and Unreal.
Judge it on a sphere
A flat map hides problems that a curved, lit surface shows at once. The preview puts the material on a sphere or a flat tile with a moving light, so you can see whether the relief reads well and whether the shine looks like stone or plastic. Repeat the texture two to four times to spot tiling patterns. Drag to turn, pinch or scroll to zoom.
Save the set
Save all maps in one ZIP, named with a pattern such as {name}_{map}, together with a settings file you can load again later. Or save one map at a time. In Blender, connect the base colour to Base Color, roughness to Roughness, the normal map through a Normal Map node, and multiply AO into the colour if your workflow uses it.
Know what it estimates
The maps are estimated from light and dark, not measured. A dark stain becomes a dent and a bright fleck a bump. For hero assets that need real depth, photogrammetry or a material scanner is the better route. For backgrounds, prototypes, architectural visualisation and game levels, a well-shot photo and a few minutes here go a long way.



