PhysX and Shadows
| Download | Required Extensions |
|---|---|
|
Download Demo(8,2 MB) |
GL_ARB_multitexture GL_ARB_shading_language_100 GL_EXT_framebuffer_object |
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 2048x2048 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.
Discuss this demo in the forums
