summaryrefslogtreecommitdiff
path: root/shadow_map.c
AgeCommit message (Expand)AuthorFilesLines
2009-09-09draw/readbuffer state is part of the fbo, so no need to reset it per frame.Eric Anholt1-4/+2
2009-08-01Increase texture size and replace cullface with PolygonOffset to reduce acne.Eric Anholt1-3/+7
2009-08-01Use front-face culling to significantly reduce shadow acne.Eric Anholt1-0/+2
2009-08-01Add acne-ridden shadowing to rings.Eric Anholt1-1/+21
2009-08-01Use shadow mapping instead of shadow texturing.Eric Anholt1-11/+29
2009-07-31Bound the shadow frustum more closely.Eric Anholt1-9/+2
2009-07-31shut up debug.Eric Anholt1-1/+1
2009-07-31Use linear filtering for less-ugly shadows.Eric Anholt1-2/+2
2009-07-31Use new gluFrustum6 to do a better job of coming up with the projection.Eric Anholt1-3/+6
2009-07-31Fix the light position to be outside of the bounds of the shadow casters.Eric Anholt1-0/+12
2009-07-30Apply the shadow map to the ground plane.Eric Anholt1-2/+12
2009-07-28Start implementing shadow texturing.Eric Anholt1-0/+142