Example 6: Shadow Mapping


This demo uses the a RGBA texture render target to encode depth information for shadow mapping.
The model is imported from an Alias|Wavefront OBJ file: a low resolution model is loaded and displayed while waiting for the high resolution data to arrive (it may take a while).


LeftMouseButton + MouseMove : Rotate
MiddleMouseButton or (Shift + LeftMouseButton) + MouseMove : Pan
MouseWheel : Scale
Shift + MouseWheel : Dolly
Shift+R : Reset Trackball