normalmap.dev

Normal Map in Godot 4

Make a normal map from any texture here, then use it in Godot 4 on a 3D material or on a 2D sprite. Below: the import options Godot sets for you, the one you have to set yourself, and fixes when it looks wrong.

  • Exports OpenGL normal maps, the convention Godot reads
  • Runs in your browser: files are not uploaded
  • Height, AO and roughness maps from the same image

Godot reads OpenGL normal maps (X+, Y+, Z+), 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 on a 3D material in Godot

Generate the map above (or use one you have), download it as OpenGL, then in Godot 4:

  1. Add the PNG to the project. Drop it into the FileSystem dock. You do not need to change any import option yet.
  2. Enable normal mapping on the material. Select the mesh, open its StandardMaterial3D (or create one in Material Override), expand Normal Map and tick Enabled.
  3. Assign the texture. Drag the PNG onto Normal Map → Texture. Godot notices the texture is used as a normal map and reimports it with normal-map compression.
  4. Set the strength with Normal Map → Scale (1 by default) instead of regenerating the map.

The normal map only shows if the mesh has UVs and the scene has a light. Import behavior checked against Godot's manual (Importing images, Standard Material 3D) on 2026-11-26.

Import options that matter for normal maps

Import optionValueWhat it does
Compress → ModeVRAM Compressed for 3DBlock compression on the GPU, the normal choice for 3D textures.
Compress → Normal MapDetect (default)Switches to Enable by itself once the texture is used as a normal map, and stores it as RGTC: red and green only, at high quality.
Process → Normal Map Invert YOff for maps from this siteFlips green. Turn it on only for DirectX maps, such as textures made for Unreal Engine.
Mipmaps → GenerateOn for 3DWithout mipmaps a detailed normal map sparkles on distant surfaces.
Roughness → Src NormalOn the roughness texture: this normal mapGodot uses the normal map to filter the roughness texture on import, which reduces specular sparkle slightly. 3D only.

Click Reimport in the Import dock after changing an option.

Normal maps on 2D sprites in Godot

2D nodes take a normal map through a CanvasTexture:

  1. Select the Sprite2D (or another 2D node with a texture) and set its Texture to New CanvasTexture.
  2. Open the CanvasTexture. Put the sprite in Diffuse → Texture and the normal map in Normal Map → Texture. For pixel art set Texture → Filter to Nearest.
  3. Add a PointLight2D or DirectionalLight2D. Both use normal maps. If the sprite looks darker than before, raise the light's Height, then its Energy.

Godot's manual on 2D lights and shadows covers specular maps too. For pixel-art defaults and folders of sprites, use the sprite normal map generator.

Normal map not working in Godot? Symptoms and fixes

What you seeCauseFix
Nothing changes on the 3D meshNormal Map → Enabled is off, or the mesh has no UVsTick Enabled; check the mesh's UV layer in your 3D program
Light from above makes bumps look like dents; side light looks fineThe map is DirectX (Y−)Tick Normal Map Invert Y and reimport, 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
A 2D sprite gets darker when the normal map is addedThe 2D light is too low for the tilted normalsRaise the light's Height, then its Energy
A pixel-art sprite looks blurry with its normal mapLinear filtering on the CanvasTextureSet the CanvasTexture's Texture → Filter to Nearest

Height, AO and roughness in Godot

  • Roughness: assign it to Roughness → Texture. Godot reads the red channel by default, which is where a gray map stores its value, and it uses roughness directly, so no inverting.
  • AO: tick Ambient Occlusion → Enabled and assign the map. It also reads red by default. Lower Light Affect if crevices look too dark in direct light.
  • Height: tick Height → Enabled for parallax depth on flat surfaces. Keep Scale low; strong parallax swims at grazing angles.

Normal maps in Godot: questions

Why does Godot reimport my texture when I assign it as a normal map?

The importer's Compress → Normal Map option starts at Detect. The first time Godot sees the texture used as a normal map, it switches the option to Enable and reimports it with RGTC compression, which keeps only the red and green channels at high quality. That is expected and needs no action.

Godot ignores the blue channel. Does that matter for maps from this site?

No. Godot's built-in materials rebuild blue from red and green, which works because every vector in a normal map has length 1. Maps from this generator are written as unit vectors, so the rebuilt blue matches. It only matters for normal maps that were painted on or resized; tick Normalize vectors on the green channel page to repair those first.

Does a texture from Unreal or Substance need converting for Godot?

Only if it is DirectX style. Godot's manual says DirectX normal maps need their Y axis flipped. Tick Process → Normal Map Invert Y in the Import dock, or convert the file once on the green channel page so it is right in every program.