Per-Pixel Lighting

Click here to see other demos I've written.
My thesis work...

It is still my intention to write a description of this work as a developer feature for OpenGL.org, but that has not happened yet, and I feel it's important to get this source code in the hands of interested parties. Here is what is available:

Snapshot from the terrain demo. Snapshot from the torus demo.


Argh! Somehow in the reformatting process the Acknowledgements section got lost. I'm fixing that, but for those of you that do not want to re- download the document, here it is.

Acknowledgements
I would like to thank Mark Kilgard. He made many improvements and corrections to this technique. For example, it was his idea to use the alpha buffer for scalar accumulation, to include the specular term, and support multiple local and infinite light sources. Mark, Allen Akin, Samuel Espy, Cindy Everitt, and Robert Moorhead all provided valuable feedback on various drafts of this work. I would also like to thank my employer, Physitron, for giving me time and resources to complete much of this work. Robert Moorhead also deserves my thanks for giving me my first programming job, introducing me to computer graphics, and guiding my graduate studies at Mississippi State University. My wife, Cindy, and daughters, Cameron and Logan, are owed my deepest thanks and apologies for the time and attention deprived of them for completion of this work.

Samuel Adams IS the best beer in America! :-)

Thanks -
Cass