PhysX and Shadows

pns2

This demo shows a physics playground with soft shadow mapping.
For the physics calculations the AGEIA PhysX SDK is used. Physics effects in this demo are: Many ridig bodies, a rag doll, a joint-rope, a 3D-version of Galton’s Board and an unstable tower.
For shadow mapping the depth is rendered to a 2048×2048 texture using the EXT_framebuffer_object extension. To avoid shadow aliasing, a GLSL shader blurs the results of the depth comparisons using 21 samples, producing soft fuzzy shadows.

Download PhysX and Shadows Demo(8,2 MB)

pns1