Normal Mapping
Ported from Microsoft's XNA 4.0 Normal Mapping Effect sample.
Source for this sample on GitHub ↗
Play ▸
Opens in a new tab. Move the camera and pause or resume the orbiting light.
About this sample
A normal map makes the lizard and rock appear detailed without adding geometry. The original content processor generates tangent and binormal vertex data, assigns a custom compiled effect to each material, and converts normal textures to a signed format. Move the camera to inspect how the animated light changes the surface highlights.
Controls
| Action | Keyboard | Gamepad |
|---|---|---|
| Rotate camera | Arrow keys or W, A, S, D | Right stick |
| Zoom | Z and X | Triggers |
| Pause or resume light | Space | A |
| Reset camera | R | Right stick press |
| Exit | Escape | Back |