summaryrefslogtreecommitdiff
path: root/progs/demos/shadowtex.c
AgeCommit message (Collapse)Author
2009-01-24progs: Port most of the demos to glew.José Fonseca
A couple of test weren't ported due to glew breakage -- it undefines GLAPIENTRY.
2008-06-29demos/shadowtex: Don't set TEXTURE_WRAP_T for 1D textureNicolai Haehnle
The operation doesn't really make sense. It triggered a bug in the r300 DRI driver (and possibly other drivers that simulate 1D textures via 2D textures). I've added an isolated test case for this bug to Piglit, so everybody wins.
2008-04-29disable GL_TEXTURE_1D at end of frame to fix failed assertionBrian Paul
2007-10-17Support cards that have ARB_fp but not ARB_shadow.Ian Romanick
2007-06-07Add support for shadow mapping with vertex and fragment programsIan Romanick
2007-06-07Refactor shadow map modelview and projection codeIan Romanick
Explicitly store the modelview matrix and projection matrix used when the shadow map is created. These matrices only need be updated when RenderShadowMap is called. Previously, slightly different code was used to draw and project the shadow map.
2007-06-07Remove '#if defined' tests for ARB extensions.Ian Romanick
2007-04-21Fix FBO completeness bug in shadowtex.Ian Romanick
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