Why aren't tangent space normal maps completely blue?

Posted by seahorse on Game Development See other posts from Game Development or by seahorse
Published on 2012-07-03T03:35:41Z Indexed on 2012/07/03 15:25 UTC
Read the original article Hit count: 375

Filed under:

Why aren't normal maps just blue? I would think that normal maps should be predominantly blue in color because the Z component of the normal is represented by blue. Normals point out of the surface in the Z direction so we should see blue as the predominant colour since the Z component is dominant.

By definition tangent space is perpendicular to the surface. At any point we should have the normal always pointing in the Z (blue direction) with no X (red direction) or Y (green direction). Thus the normal map (since it is a "normal map") should have the colour of the normals which is just blue (R = x = 0, G = y = 0, B = z = 1) with no shades in between.

But normal maps are not so, and they have gradients of shades in them. Why is this so?

© Game Development or respective owner

Related posts about normal-mapping