Shadow Mapping in OpenGL

My experience with OpenGL had been pretty limited before I started working on this project as a part of the Engine Development class I was taking. The project was eventually received a perfect 100% grade.

It demonstrate simple shadow mapping using an alpha test to differentiate between lit and shadowed surfaces. I think the result turned out quite nicely. Supports both a spotlight and a directional light.

The source code is attached at the bottom of the page.

Screen shot:

ShadowMapping.zip727.59 KB


Jonathan Lerner
Reseda, CA
Phone: (818) 515 2130