Normal Map in Unity
Make a normal map from any texture here, then set it up in Unity in three steps. Below: the import settings that matter, the 2D sprite setup, and what to fix when the surface looks wrong.
- Exports OpenGL normal maps, the convention Unity reads
- Runs in your browser: files are not uploaded
- Height, AO and roughness maps from the same image
Unity reads OpenGL normal maps (green up), so the generator on this page is already set to OpenGL Y+.
Drag anywhere to move the light
Green channel read the wrong way: bumps look like dents. Match the export to your engine.
Advanced settings
Drop files or a whole folder here
Uses the settings above. Up to 200 files per batch, each exported at up to the export size.
How to use a normal map in Unity, step by step
Generate the map above (or use one you have), download it as OpenGL, then in Unity:
- Import it as a normal map. Drag the PNG into the Project window, select it, and in the Inspector set Texture Type to
Normal map. Click Apply. This type has no sRGB checkbox: Unity handles the file as direction data, not color. - Assign it to the material. On a URP Lit material, open Surface Inputs and drop the texture on
Normal Map. On the Built-in Standard shader, use the Normal Map slot. - Set the strength. The number next to the Normal Map slot multiplies its effect. Start at 1 and change it there rather than regenerating the map, unless you need a much stronger or weaker look.
If the Built-in Standard material shows "This texture is not marked as a normal map", click Fix Now: it does the same as setting Texture Type to Normal map. Do not click it for a grayscale height map: tick Create From Grayscale on that texture instead. Steps checked against Unity's manual (Import a normal map, URP Lit shader) on 2026-11-26.
Normal map import settings in Unity
| Setting | Use | Why |
|---|---|---|
| Texture Type | Normal map | Tells Unity the colors are directions, so it decodes and compresses them as data. |
| Create From Grayscale | Off | Only for a gray height map. On a normal map it would turn the purple image into a new, wrong normal map. |
| Flip Green Channel | Off for maps from this site | Turn it on only for DirectX maps, such as textures made for Unreal Engine. |
| Wrap Mode | Repeat for tiling textures | Pair it with Wrap edges in the generator so the map has no seam where it repeats. |
| Filter Mode | Bilinear or Trilinear; Point for pixel art | Point keeps each normal on its pixel, which pixel art needs. |
| Generate Mipmap | On for 3D | Without mipmaps a detailed normal map sparkles on distant surfaces. |
Property names from Unity's Normal map texture type reference (Unity 6), checked 2026-11-26.
Normal map not working in Unity? Symptoms and fixes
| What you see | Cause | Fix |
|---|---|---|
| Bumps light from the wrong directions, or the surface looks blotchy | Texture Type left on Default, so the file is decoded as a color image | Set Texture Type to Normal map and click Apply |
| Light from above makes bumps look like dents; side light looks fine | The map is DirectX (Y−) | Tick Flip Green Channel, download the OpenGL version here, or convert the file |
| Everything looks pressed in, from every light direction | The height was read upside down when the map was made | Regenerate with Invert height under Advanced settings |
| A hard line where the texture repeats | The map was made without wrapping, or the texture does not tile | Turn on Wrap edges in the generator; set Wrap Mode to Repeat |
| Detail sparkles or crawls on distant surfaces | Mipmaps are off | Turn on Generate Mipmap |
| Detail looks embossed twice, or the relief has nothing to do with the texture | Create From Grayscale is on for a file that is already a normal map | Untick Create From Grayscale |
| A 2D sprite ignores its normal map | The light does not use normal maps, or the secondary texture has the wrong name | Set Use Normal Map on the Light 2D; name the secondary texture _NormalMap |
Height, AO and roughness in Unity
- Height: the URP Lit shader's Height Map slot uses it for parallax, which shifts the texture to fake depth. Keep the effect small; strong parallax swims at grazing angles.
- AO: put it in the Occlusion Map slot. The generator's AO is estimated from the image, so lower its strength in the material if crevices look dirty.
- Roughness: Unity's Lit and Standard shaders use smoothness, the opposite of roughness, stored in the alpha channel of the Metallic map (or of the base map). Invert the roughness map before you pack it there.
- Sprites: 2D lights use a secondary texture named
_NormalMap. The sprite normal map page has pixel-art defaults and the full URP 2D steps.
Normal maps in Unity: questions
Can't Unity make the normal map itself with Create From Grayscale?
Yes, if you already have a grayscale height map. Set Texture Type to Normal map, tick Create From Grayscale and adjust Bumpiness and Filtering. It does not read a color texture well (it treats color as gray, painted shadows and all), it has no lit preview outside the material, and it makes only the normal map. Use the generator here when you start from a color texture or a photo, or when you also want height, AO and roughness.
Does a normal map from this site work in URP, HDRP and the Built-in pipeline?
Yes. It is a standard tangent-space normal map in the OpenGL convention, which is what every Unity pipeline reads once the texture is imported as Normal map. Only the material slots differ: Normal Map under Surface Inputs on the URP Lit shader, the Normal Map slot on the Built-in Standard shader.
What compression should a normal map use in Unity?
Leave Texture Type on Normal map and keep the platform's default compression. Use the Compression preview in the generator above to see what block compression does to your map before you import it: BC5 keeps the detail of red and green, while a color format such as BC1 shows blocky banding on gentle slopes.