Bump Mapping
Tangent Space
- Derived from parametric mapping of surface (or texture mapping parameterization)
- Generate N,T,B, apply accumulated modeling transform to find vectors in world space (where light is)
- Compute light direction vector L
- Compute rotation matrix M from N,T,B
- Transform L by M to get L’ (yes, it’s just that simple!)