Normal Map Generator: Turn Any Image Into a Normal Map
Make a normal map from a photo, texture, or height map. Move the light in 3D and download OpenGL or DirectX PNGs.
Opening image… Processed on your device — never uploaded
Blender, Unity, Godot, Three.js
In short: A normal map is an RGB texture that tells a 3D material how to respond to light at each pixel. It makes grooves, grain, or stamped details look raised or recessed on a flat surface. MeshShift estimates height from the brightness of your image, then converts changes in height into surface directions for the normal map.
Choose OpenGL (Y+) for Blender, Unity, Godot, or Three.js, or DirectX (Y−) for Unreal Engine. The formats use opposite green-channel directions. Adjust strength and smoothing, inspect the result under a moving light, then save the normal map, grayscale height map, or ambient occlusion map as a PNG. The tool runs in your browser. Your image stays on your device, and downloads are free with no account or credits.
How to use the Normal Map Generator
- Choose, drop, or paste a photo, color texture, or grayscale height map. Start with a sample to see the effect without opening a file.
- Adjust Strength and Blur. Turn on Invert height if features that should be recessed look raised.
- Choose OpenGL or DirectX to match your destination. Move the pointer over the 3D preview to check the slopes under the light.
- Download the normal map PNG. Save the height or AO PNG as well if your material uses those inputs.
OpenGL vs DirectX normal maps (which one your software wants)
The red channel encodes the direction along the texture's horizontal axis. The green channel encodes the direction along its vertical axis. Switching formats reverses the green channel. Start with the convention your material or importer expects:
- OpenGL (Y+): Blender, Unity, Godot, Three.js, and Maya.
- DirectX (Y−): Unreal Engine, 3ds Max, CryEngine, and Substance when using a DirectX preset.
An importer or shader can override its default convention. If your current map lights backward along the vertical axis, flip green once, either in the generator or in the destination. Rotating the image or inverting the whole map also changes directions that were already correct.
Settings that matter
- Strength controls how quickly normals tilt as the height changes. Start low for fabric or fine scratches. Increase it to make stone joints and embossed shapes catch more light.
- Blur smooths small changes before the slopes are calculated. A little blur can suppress compression artifacts and fine noise. Reduce it to keep sharp edges on lettering or a machined panel.
- Invert height switches which tones are high and low. Try it for dark details that should rise, such as black text on a light background. Check the result under light from different sides.
- Tileable edges use pixels from the opposite edge when estimating slopes and smoothing. Enable this for textures that already repeat. Disable it for a standalone decal or an image whose edges intentionally differ.
Height and ambient occlusion maps
The Height tab shows the grayscale surface used to calculate the slopes. White is high and black is low after applying your blur and inversion settings. Use the PNG as an input for bump, displacement, or parallax mapping if your material supports it. Displacement needs suitable geometry and can change a model's silhouette. A normal map changes the shading while the geometry stays fixed.
Ambient occlusion estimates where less ambient light reaches a surface. The AO map leaves flat areas white and darkens depressions relative to nearby pixels. Use a small radius for narrow cracks or a larger radius for broad recesses. Strength controls how dark those recesses become. Plug the PNG into an occlusion input and keep the original color map separate so you can still adjust the effect.
Using the maps in Blender, Unity, Unreal, and Three.js
- Blender: Load the OpenGL PNG in an Image Texture node. Set its Color Space to Non-Color. Connect Color to the Color input of a Normal Map node, then connect its Normal output to Normal on the Principled BSDF. Use the same UVs as your base color.
- Unity: Import the OpenGL PNG and set Texture Type to Normal map. Assign it to the normal slot of your material and set the material's normal intensity. Leave green-channel flipping off for this export.
- Unreal Engine: Import the DirectX PNG with Normalmap compression and sRGB disabled. Connect a Normal sampler to the material's Normal input. Leave Flip Green Channel off with the DirectX export.
- Three.js: Give a MeshStandardMaterial the original color texture as map and the OpenGL PNG as normalMap. Mark the color texture as sRGB and keep the normal texture as data. For a DirectX PNG, set normalScale.y to −1.
Compared with NormalMap-Online and other generators
NormalMap-Online also makes maps in the browser and offers a lit 3D preview, displacement, and ambient occlusion. On MeshShift, you can choose a named OpenGL or DirectX export and compare Normal, Height, and AO in the same two-dimensional preview. Move the pointer across the plane, sphere, or cube to inspect the texture as light moves over the surface. The controls stack below the previews on narrow screens. Your image stays on your device.
If your color map needs to repeat, start in the Seamless texture generator or AI texture generator linked below, then open the tile here with Tileable edges enabled. To turn the height PNG into printable geometry, open it in Heightmap to STL and set the relief depth there.
Frequently asked questions
Is the normal map generator free?
Yes. Every map can be downloaded as a PNG without an account, credits, a watermark, or a daily quota.
Should I choose OpenGL or DirectX for Unreal, Unity, or Blender?
Choose DirectX for Unreal Engine and OpenGL for Unity or Blender. If your importer already flips the green channel, switch off that setting or export the other format.
How can I tell which format a normal map uses?
Use a known bump or groove and move a light along the texture's vertical axis. If the lighting appears reversed along that axis, flip green and compare again. The purple color alone tells you very little about the convention.
Can a photo make a real normal map?
A single photo gives a brightness-based estimate. Paint, shadows, and highlights can all be read as changes in height. A grayscale height map or evenly lit, straight-on photo is a better starting point, and measured surface normals require additional capture data.
What is the resolution limit?
PNGs keep the original dimensions up to 4096 pixels on the longest side. Larger images are scaled proportionally. The interactive previews use up to 1024 pixels on the longest side.
Is my image uploaded?
No. The browser reads the image, computes the maps, and creates PNG downloads on your device. The image and its filename are never sent to MeshShift.
Does the normal map tile?
For an already seamless texture, keep Tileable edges enabled so the sampling continues across each edge. If the original has a visible join, make the color texture seamless first, then create maps from that tiled version.



