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+.
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 on a 3D material in Godot
Generate the map above (or use one you have), download it as OpenGL, then in Godot 4:
- Add the PNG to the project. Drop it into the FileSystem dock. You do not need to change any import option yet.
- Enable normal mapping on the material. Select the mesh, open its StandardMaterial3D (or create one in Material Override), expand Normal Map and tick
Enabled. - 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. - 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 option | Value | What it does |
|---|---|---|
| Compress → Mode | VRAM Compressed for 3D | Block compression on the GPU, the normal choice for 3D textures. |
| Compress → Normal Map | Detect (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 Y | Off for maps from this site | Flips green. Turn it on only for DirectX maps, such as textures made for Unreal Engine. |
| Mipmaps → Generate | On for 3D | Without mipmaps a detailed normal map sparkles on distant surfaces. |
| Roughness → Src Normal | On the roughness texture: this normal map | Godot 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:
- Select the Sprite2D (or another 2D node with a texture) and set its Texture to New CanvasTexture.
- Open the CanvasTexture. Put the sprite in Diffuse →
Textureand the normal map in Normal Map →Texture. For pixel art set Texture →Filterto Nearest. - 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 see | Cause | Fix |
|---|---|---|
| Nothing changes on the 3D mesh | Normal Map → Enabled is off, or the mesh has no UVs | Tick Enabled; check the mesh's UV layer in your 3D program |
| Light from above makes bumps look like dents; side light looks fine | The map is DirectX (Y−) | Tick Normal Map Invert Y and reimport, 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 |
| A 2D sprite gets darker when the normal map is added | The 2D light is too low for the tilted normals | Raise the light's Height, then its Energy |
| A pixel-art sprite looks blurry with its normal map | Linear filtering on the CanvasTexture | Set 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 →
Enabledand assign the map. It also reads red by default. Lower Light Affect if crevices look too dark in direct light. - Height: tick Height →
Enabledfor 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.