how to make a normal map from scratch

Create Normal Map from Scratch: Step-by-Step Tutorial

By Brian Thompson
AD

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.

AD
Handpainting Normal Maps in Photoshop with Nick Lewis
Handpainting Normal Maps in Photoshop with Nick Lewis
Tutorial: How Normal Maps Work & Baking Process
Tutorial: How Normal Maps Work & Baking Process
Blender How to add Normal Map
Blender How to add Normal 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.

the text custom normal map details
the text custom normal map details
Handpainting Normal Maps in Photoshop with Nick Lewis - ArtStation Magazine
Handpainting Normal Maps in Photoshop with Nick Lewis - ArtStation Magazine
How to Create Normal Maps from Photographs - DreamLight.com
How to Create Normal Maps from Photographs - DreamLight.com

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.

AD

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.

Blender how to make a Normal Map for Beginners 2.6
Blender how to make a Normal Map for Beginners 2.6
Blender tutorial | How to make a normal map from an image
Blender tutorial | How to make a normal map from an image
The ONLY Normal Map Baking Tutorial You Need to Watch
The ONLY Normal Map Baking Tutorial You Need to Watch
Best Practices - Hard Surface Normal Map Baking, Simon Peloquin
Best Practices - Hard Surface Normal Map Baking, Simon Peloquin
No more wrong Normal Maps! Tutorial by Leonardo Iezzi - zbrushtuts
No more wrong Normal Maps! Tutorial by Leonardo Iezzi - zbrushtuts
016 usage of normalmap
016 usage of normalmap

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

AD

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.

How To Make A Normal Map Out Of A Diffuse Map Using Krita
How To Make A Normal Map Out Of A Diffuse Map Using Krita

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!

AD