summaryrefslogtreecommitdiffstats
path: root/progs/demos/shadowtex.c
Commit message (Collapse)AuthorAgeFilesLines
* disable GL_TEXTURE_1D at end of frame to fix failed assertionBrian Paul2008-04-291-0/+1
|
* Add support for shadow mapping with vertex and fragment programsIan Romanick2007-06-071-4/+216
|
* Refactor shadow map modelview and projection codeIan Romanick2007-06-071-22/+50
| | | | | | | 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.
* Remove '#if defined' tests for ARB extensions.Ian Romanick2007-06-071-18/+1
|
* Fix FBO completeness bug in shadowtex.Ian Romanick2007-04-211-2/+15
|
* re-enable animationBrian Paul2006-04-061-1/+1
|
* Added render to depth texture support with GL_EXT_framebuffer_object.Brian Paul2006-04-061-99/+227
| | | | | Only render the shadow/depth texture when really needed, not every frame. Remove support for old SGIX shadow extensions.
* set the texture border color for the depth textureBrian Paul2006-04-051-1/+5
|
* use 'p' key to toggle use of GL_EXT_packed_depth_stencilBrian Paul2006-03-151-8/+42
|
* better animate rate (Marcelo Magallon)Brian Paul2005-01-091-2/+8
|
* fix minor warningsBrian Paul2003-04-211-3/+1
|
* Pedantic compiler fixes (Sven Panne)Brian Paul2002-07-121-3/+3
|
* exercise GL_EXT_shadow_funcsBrian Paul2002-03-231-1/+32
|
* updated to use GL_ARB_depth_texture, GL_ARB_shadow, GL_ARB_shadow_ambientBrian Paul2002-02-161-6/+43
|
* Now there's four possible display modes:Brian Paul2001-02-281-17/+126
| | | | | | | 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
* added filtering option, compute shadow tex size from window sizeBrian Paul2001-02-261-13/+36
|
* added extension #ifdef/#endifsBrian Paul2001-02-201-2/+5
|
* demo of GL_SGIX_shadowBrian Paul2001-02-201-0/+393