summaryrefslogtreecommitdiffstats
path: root/progs/demos/shadowtex.c
Commit message (Collapse)AuthorAgeFilesLines
* 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