Sub topic 2
What a Tangent-Space Normal Map Stores
This chapter assumes you can navigate Blender, edit materials in the Shader Editor, and unwrap a mesh into UVs. You should also know that a surface normal is a direction used for lighting calculations.
A tangent-space normal map stores a detailed surface direction for each texel, or texture pixel. It lets a simple mesh respond to light as if it had small bumps, grooves, and bevels. The mesh silhouette does not change because the map changes shading, not geometry.
A normal map stores directions
A normal is a three-dimensional direction. A tangent-space normal map stores that direction as three color channels:
| Channel | Component | Typical meaning |
|---|---|---|
| Red | X | Direction along the surface tangent |
| Green | Y | Direction along the surface bitangent |
| Blue | Z | Direction away from the surface |
The values are stored as colors from 0 to 1. They are decoded into direction values from -1 to 1. A flat tangent-space normal usually appears as approximately RGB (0.5, 0.5, 1.0), or (128, 128, 255) in 8-bit values. This means the direction points straight out from the surface in tangent space.
The tangent is a direction that follows the mesh's U texture direction. The bitangent follows the V direction. Together with the vertex normal, these directions form a local coordinate system called the TBN basis.
Because the basis follows each surface and its UVs, the same map can describe detail across curved areas. The map does not store a world-space direction. It stores a direction relative to the low-poly surface.
Why tangent space is useful
A baked high-poly detail becomes a pattern of changed directions on the low-poly mesh. A raised edge might shift the red and green channels. The blue channel usually remains strong because most detail still points generally away from the surface.
The low-poly mesh needs compatible UVs and correctly generated tangent data. A UV seam creates separate tangent frames. If the baker and the target engine calculate those frames differently, a seam or shading break can appear.
A tangent-space map cannot reproduce every kind of detail. It cannot change the outline, create a real overhang, or reliably hide parts of the mesh. Use actual geometry when the silhouette or depth must be visible from many angles.
In Blender, connect the image to an Image Texture node set to Non-Color, then connect it to a Normal Map node. Connect the Normal Map node's Normal output to the Principled BSDF Normal input.
Exercise
A flat tangent-space normal is approximately RGB (128, 128, 255). What does the strong blue channel represent?
Show answer
It represents a direction pointing mostly outward along the surface normal, with little tangent or bitangent offset.