Create Normal Map from Scratch: Step-by-Step Tutorial
Creating a normal map from scratch is a rewarding process that allows you to understand the fundamentals of computer graphics and various techniques used in game development. A normal map is a type of texture map that describes the surface orientation of an object. This is particularly useful in 3D modeling as it allows for the illusion of convincing detail without adding extra geometry. In this guide, we'll walk you through the process of making your own normal map step-by-step using free, accessible tools.
Before we start, ensure you have a basic understanding of 3D modeling, and access to free, open-source software like Blender and Gimp. You'll also need a decent quality image editing software like Photoshop, although we'll provide an open-source alternative using Gimp. Now let's dive into the process.
Creating the Height Map
The first step in creating a normal map is to generate a height map, which is a grayscale image that represents the height variation on a surface. In this stage, we'll use Blender to create and export a height map.



Open Blender, create a new project, and add a basic mesh. You can use the default cube, sphere, or torus. For this example, let's use the sphere. With the sphere selected, go to Object Data Properties > Normals > sandstone. This will give our sphere a more complex surface to work with.
Baking the Scene
Once you have your mesh, select it and press P to separate it. Next, add a lamp to your scene. Position it so that it lights the mesh from different angles. Now, press Ctrl + A > Shading > Smooth. This will create a smoother surface for our normal map. To bake the lighting, press Shift + Ctrl + O, select 'World', then ' baking'. This will create a new image with the baked lighting.



Export the baked image. Go to File > Export > Images as .PNG. Choose a location, give it a name (without an extension), select 'Image', and then 'PNG'. Click 'export .png'. This will export your baked image as a height map.
Adjusting the Height Map
Open Gimp and load the height map. Go to Colors > Components > Desaturate to convert it to grayscale. Adjust the contrast and brightness using the Levels tool (Colors > Levels). Increase the contrast to make the shadows darker and the highlights brighter, giving your normal map a wider range of values.
You can also use the Dodge (Tools > Dodge) and Burn (Tools > Burn) tools to manually adjust specific areas. If there are any unwanted colors or details, use the Heal Selection (Tools > Heal Selection) tool to remove them. Save this as a new .PNG file.






Creating the Normal Map
Now that we have our height map, we can create the normal map using Gimp and a useful plugin called C Nom Mesh.
Install the plugin by going to File > Plugin Browser, searching for 'C Nom Mesh', and installing it. Restart Gimp. Load your height map into Gimp. Go to Filters > C Nom Mesh. Set the Translation, Scale, and Noise values, then click 'preview' to see how the normal map will look. Adjust these values until you're satisfied, then click 'ok'.
Finalizing the Normal Map
Your normal map is now complete! Go to File > Export as > XCF (GIMP XCF Image). This will save your normals in a format that allows you to adjust them later if needed. If you're happy with your normals, you can import them into your 3D software for use.

Are you excited to create your own impressive normal maps? With this guide, you now have the power to bring depth and realism to your 3D models. So, go ahead, experiment, and share your creations with the world!





