PDA

View Full Version : Per-Pixel Lighting



Lurking
06-01-2002, 09:08 AM
Ok, I have been reading alot about per-pixel lighting at the nvidia site as well in the Game Programming Gems1. I have considered adding it into my current engine in which i am working on right now. Well i understand most of the math behind it and understand how it works. How would i loud a gray-scale map or height map w/ opengl so i can get the normals on a per-pixel basis and what is this png file in all the demos?

- Lurking

Leyder Dylan
06-02-2002, 12:37 AM
Here's a link
http://www.nutty.org/OpenGL/Nvidia/index.html