summaryrefslogtreecommitdiff
path: root/progs/demos/shadowtex.c
AgeCommit message (Collapse)Author
2006-04-06re-enable animationBrian Paul
2006-04-06Added render to depth texture support with GL_EXT_framebuffer_object.Brian Paul
Only render the shadow/depth texture when really needed, not every frame. Remove support for old SGIX shadow extensions.
2006-04-05set the texture border color for the depth textureBrian Paul
2006-03-15use 'p' key to toggle use of GL_EXT_packed_depth_stencilBrian Paul
2005-01-09better animate rate (Marcelo Magallon)Brian Paul
2003-04-21fix minor warningsBrian Paul
2002-07-12Pedantic compiler fixes (Sven Panne)Brian Paul
2002-03-23exercise GL_EXT_shadow_funcsBrian Paul
2002-02-16updated to use GL_ARB_depth_texture, GL_ARB_shadow, GL_ARB_shadow_ambientBrian Paul
2001-02-28Now there's four possible display modes:Brian Paul
1. normal, shadowed rendering 2. display depth texture image 3. display depth texture mapped onto scene 4. render grayscale scene where gray level = distance from light source
2001-02-26added filtering option, compute shadow tex size from window sizeBrian Paul
2001-02-20added extension #ifdef/#endifsBrian Paul
2001-02-20demo of GL_SGIX_shadowBrian Paul