PBR Texture and Normal Map Generator
Make base colour, height, normal, roughness, ambient occlusion, metallic and packed ORM maps from one photo, make the texture seamless, preview the material on a lit 3D sphere or tile, and save every map as PNG.
ブラウザ内で動作します。ファイルは端末の外に出ません。 確認方法を見る
…
使い方
- 1Open a photo
Load a square-on photo of the surface, or try the sample brick wall.
- 2Prepare it
Choose the size, crop to a square and turn on Make seamless.
- 3Shape the height
Set high-pass, smoothing, contrast and invert, or start with a preset.
- 4Tune the maps
Set normal strength and convention, AO radius, roughness and metallic.
- 5Check the preview
Turn the sphere or tile, repeat it and look at each map.
- 6Save
Save all maps as PNG in a ZIP with your naming pattern, or one map at a time.
このツールについて
Game engines, Blender, product viewers and architectural renderers draw surfaces with physically based materials. One picture is not enough for that: the renderer also wants a normal map for the small bumps, a roughness map for where the surface is shiny or dull, an ambient occlusion map for the dark crevices and a metallic map. Taking a photo of a wall, a floor or a piece of fabric is easy; turning it into those maps usually needs paid software. This generator makes them in your browser. Open a photo of a flat surface, ideally shot square on in soft, even light. The picture is cropped to a square if you like, scaled to 512, 1024 or 2048 pixels, and made seamless by blending it with a copy shifted by half its size, so the edges match and it repeats without a visible line. The height map comes from brightness, with a high-pass filter that removes the uneven lighting of the photo, smoothing and contrast, and an invert switch for surfaces where dark parts stand out. The normal map is calculated from the height with a Sobel filter that wraps around the edges, so it tiles too, in the OpenGL convention used by Blender, Godot, Unity and glTF, or the DirectX convention used by Unreal and 3ds Max. Ambient occlusion compares each point with its surroundings at three radii.
Roughness, metallic and ORM
Roughness starts from a base value and varies with the height, with crevices rougher than peaks by default. Metallic can be off, on for bare metal, or follow the bright parts of the photo for painted metal with worn edges. The ORM map packs ambient occlusion, roughness and metallic into the red, green and blue channels, as glTF and Unreal expect.
Preview and export
The material is shown on a sphere or a flat tile, lit by a moving light, so relief and shine are easy to judge. Drag to turn it, pinch or scroll to zoom, and repeat the texture two to four times to see the tiling. Presets for stone, brick, wood, fabric, painted metal and bare metal set sensible starting values. Save every map as a PNG in one ZIP with a naming pattern such as the texture name, an underscore and the map name, plus a settings file, or save one map at a time.
Limits
The maps are estimated from brightness, not measured, so a dark stain is read as a dent and strong shadows in the photo end up in the height. For real depth use photogrammetry or a scanner. Displacement for true geometry, subsurface scattering and anisotropy are not made. The preview is an approximation for checking maps, not a reference renderer.
計算例
A hobby game maker photographs an old brick wall at 4032 × 3024 pixels. The square crop is 3024 × 3024, scaled to 1024 × 1024. Before Make seamless, the edge mismatch is 41 of 255; after it with a 35 percent blend it drops to 2.1, so the texture tiles cleanly. The Brick preset sets a 40 pixel high-pass radius to remove the shading from the low afternoon sun, normal strength 5, ambient occlusion radius 24 pixels and base roughness 0.85. Exported as OpenGL maps, the ZIP holds 7 PNG files: basecolor, height, normal_gl, roughness, ao, metallic and orm, about 1 to 1.5 MB each at 1024 pixels.
ポイント
- カテゴリ: 画像
- ブラウザ内で動作し、登録もアップロードも不要です。
- 入力した情報は端末内にとどまります。
- 英語で利用できます。
- 内容の最終確認日:
- 公式情報源: Khronos glTF 2.0 metallic-roughness material model and tangent-space normal maps
よくある質問
Which normal map convention should I use?
OpenGL, with green pointing up, for Blender, Godot, Unity and glTF. DirectX, with green pointing down, for Unreal Engine and 3ds Max. If bumps look like dents, switch the convention.
How do I take a good texture photo?
Shoot the surface straight on, in shade or overcast light so there are no hard shadows, fill the frame and keep the camera level. Avoid flash, which makes a bright spot in the middle.
Why does my texture show a seam when repeated?
The left and right or top and bottom edges do not match. Turn on Make seamless and raise the blend width; the page shows the edge mismatch, and values under about 6 of 255 tile cleanly.
What is the ORM map?
It packs three greyscale maps into one image: ambient occlusion in red, roughness in green and metallic in blue. glTF and Unreal read it directly, which saves memory.
Are these maps accurate?
They are good estimates for most stone, brick, wood, plaster and fabric, but they come from brightness, not real depth. Colour changes can show up as false bumps, so check the sphere preview.
Can I use the maps in commercial projects?
The maps are made from your photo on your device and belong to you, as far as you hold the rights to the photo. Do not use photos of other people's artwork or protected designs without permission.
