How to Bake Normal Maps in Blender for Game Assets
In this article
Baking normal maps in Blender lets you take fine surface detail from a high-poly model and project it onto a low-poly version, so your game asset looks detailed without the performance cost. This guide walks you through the entire process, from setting up your models to troubleshooting common issues.
What You'll Need
- Blender (any recent version; 2.8 or later recommended)
- A high-poly model with the detail you want to bake
- A low-poly model that will receive the normal map
- Both models roughly aligned in the same location (the low-poly should be inside or overlapping the high-poly)
- An image editor (like GIMP or Photoshop) to view the baked texture
Step-by-Step
- Prepare your low-poly model. Make sure it has a UV map. In Edit Mode, select all faces (A), press U, and choose a UV unwrap method (e.g., Smart UV Project or Unwrap). Ensure UV islands don't overlap and have some padding (margin) between them.
- Create a new image texture. Go to the Shader Editor, select your low-poly object, add an Image Texture node (Shift+A > Texture > Image Texture), and click New. Set the resolution (e.g., 2048x2048) and name it something like "NormalMap". This will be the target for the bake.
- Assign the image to the material. Connect the Image Texture node's Color output to the Base Color input of the Principled BSDF shader (temporarily). This ensures the bake has somewhere to write.
- Select the high-poly model. Click on your high-poly object in the viewport. It should be the active object (the last selected).
- Add a Multires or Subdivision Surface modifier to the low-poly (optional). If your low-poly is very low, you can add a Subdivision Surface modifier to it temporarily to capture more detail, but this is not required for basic baking.
- Set up the bake settings. Go to the Render Properties tab (the camera icon). Scroll down to the "Bake" section. Set Bake Type to "Normal". Under "Influence", set Space to "Tangent" (this is the standard for game engines). Enable "Selected to Active" (this tells Blender to bake from the selected high-poly onto the active low-poly). Set Ray Distance to a small value like 0.1 (adjust if needed).
- Go to the Image Editor. Open a new window or split the viewport, and open the image you created (the "NormalMap" texture). This will show the result as it bakes.
- Bake it. Make sure the low-poly is the active object (click it while holding Shift to select it last). Click the "Bake" button in the Bake settings. Wait for the process to finish (you'll see the image update in the Image Editor).
- Check the result. The baked image should show blue/purple tones with raised areas in red/green. If it's flat blue, the bake didn't capture detail – check your ray distance and model alignment.
- Save the image. In the Image Editor, go to Image > Save As, choose PNG or TGA, and save your normal map. You can now use it in your game engine.
Common Mistakes
- Forgetting to select the low-poly as active. The bake uses the active object as the target. If you select the high-poly last, the bake will try to write to the high-poly's UVs.
- Overlapping UVs. Overlapping UV islands cause the bake to mix details from different parts of the mesh, resulting in artifacts.
- Incorrect ray distance. If the ray distance is too small, it won't reach the high-poly surface; too large, and it may capture unwanted geometry.
- Not using tangent space. Object space normal maps work but are less flexible for animation and can cause issues in engines.
- High-poly and low-poly not aligned. If they are offset, the bake will be blurry or wrong.
Tips
- Use a cage (a copy of the low-poly slightly scaled up) to control the bake direction and avoid artifacts. You can enable "Cage" in the Bake settings and select a cage object.
- Add a small margin (padding) in the UV layout (e.g., 2-4 pixels) to prevent bleeding between islands.
- Bake at a higher resolution (4096) and downscale in your engine for smoother results.
- Use the "Extruded" option in the Bake settings for better results on complex shapes; it bakes along the face normals.
- If you have multiple materials, ensure the low-poly has a material assigned to the active UV map.
Troubleshooting
- The result is completely flat blue. This means no detail was captured. Check that the high-poly is selected, the ray distance is large enough, and the low-poly is inside the high-poly (or overlapping).
- Black or white patches in the bake. These are usually caused by rays hitting the inside of the high-poly or hitting the backface. Increase the ray distance, or enable "Cage" and adjust it.
- The bake is blurry or smeared. This often happens when UV islands are too close or the ray distance is too large. Reduce ray distance, increase UV padding, and make sure the low-poly is well aligned.
- Normal map looks inverted (bumps appear as dents). This is a common issue. In your game engine, you may need to flip the green channel (Y-axis) of the normal map. In Blender, you can also bake with "Y" flipped (in the Bake settings, under "Influence", set Space to "Tangent" and enable "Y" with a negative value).
- Nothing happens when you click Bake. Make sure you have an image selected in the Image Editor (the texture you created) and that the low-poly has a UV map. Also check that both objects are visible in the viewport.
Frequently Asked Questions
What is the difference between tangent space and object space normal maps?
Tangent space normal maps are relative to the surface orientation, so they work with animated/deforming meshes and are the standard for game engines. Object space maps are fixed to the object's orientation and are less flexible.
Can I bake multiple high-poly objects onto one low-poly?
Yes, you can select multiple high-poly objects (Shift+click) and then select the low-poly as the active object. Blender will bake from all selected objects onto the active one.
Do I need to apply modifiers before baking?
No, Blender can bake with modifiers applied in real time. Just make sure the modifiers are visible and the object is in its final state.
Why does my normal map look different in the game engine?
This is usually due to different coordinate systems. Most engines expect Y+ (green channel pointing up). If it looks inverted, flip the green channel in your image editor or use the "Y" flip option in Blender.
Can I bake normal maps without a high-poly model?
You can use a multiresolution modifier on a single model to create detail, then bake it down. But the standard workflow is high-poly to low-poly.
What is a cage and when should I use it?
A cage is a copy of the low-poly that is slightly expanded. It defines the maximum distance for the bake rays, preventing artifacts on complex shapes. Use it when you get dark spots or smears.