normalmap.dev

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+.

or try
Source
Drop an imagePNG, JPG or WebP, or paste with Ctrl+V

Drag anywhere to move the light

Your file is
Green (Y)
Advanced settings
Filter
Export size
Loading sample

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:

  1. 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.
  2. 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.
  3. 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

SettingUseWhy
Texture TypeNormal mapTells Unity the colors are directions, so it decodes and compresses them as data.
Create From GrayscaleOffOnly for a gray height map. On a normal map it would turn the purple image into a new, wrong normal map.
Flip Green ChannelOff for maps from this siteTurn it on only for DirectX maps, such as textures made for Unreal Engine.
Wrap ModeRepeat for tiling texturesPair it with Wrap edges in the generator so the map has no seam where it repeats.
Filter ModeBilinear or Trilinear; Point for pixel artPoint keeps each normal on its pixel, which pixel art needs.
Generate MipmapOn for 3DWithout 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 seeCauseFix
Bumps light from the wrong directions, or the surface looks blotchyTexture Type left on Default, so the file is decoded as a color imageSet Texture Type to Normal map and click Apply
Light from above makes bumps look like dents; side light looks fineThe map is DirectX (Y−)Tick Flip Green Channel, download the OpenGL version here, or convert the file
Everything looks pressed in, from every light directionThe height was read upside down when the map was madeRegenerate with Invert height under Advanced settings
A hard line where the texture repeatsThe map was made without wrapping, or the texture does not tileTurn on Wrap edges in the generator; set Wrap Mode to Repeat
Detail sparkles or crawls on distant surfacesMipmaps are offTurn on Generate Mipmap
Detail looks embossed twice, or the relief has nothing to do with the textureCreate From Grayscale is on for a file that is already a normal mapUntick Create From Grayscale
A 2D sprite ignores its normal mapThe light does not use normal maps, or the secondary texture has the wrong nameSet 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.