← All resources

The Geometry Behind Normal Maps

Auto-discovered

Blog Intermediate

Shlomi

Visit resource ↗

Description

The Geometry Behind Normal Maps is a technical article by Shlomi on shlom.dev that explains the geometric meaning of tangent space and how that local frame supports normal mapping.

It covers tangent planes, UV-driven tangent and bitangent orientation, solving for those vectors from triangle edges in surface and texture space, Gram-Schmidt orthonormalization, handedness as a vertex attribute, TBN reconstruction in shaders, and remapping normal-map RGB into signed directions. It relates the approach to MikkTSpace conventions used by engines and baking tools.

Graphics programmers who already sample normal maps but want the underlying geometry will benefit most. Comfort with basic linear algebra, mesh UVs, and vertex attributes helps.

The piece is a free long-form blog with diagrams and GLSL-style snippets. The URL is one self-contained article rather than a series index.

It helps when you implement mesh preprocessing, chase lighting seams, or need tangent frames and normal maps to stay synchronized.