Per-pixel lighting

Started by
2 comments, last by redcliffe 21 years, 4 months ago
Anyone know of a tutorial on doing per-pixel lighting with OpenGL? Thanks, David
Advertisement
You mean like this, and the follow-up?

Henrym
My Site

[edited by - henrym on December 1, 2002 4:29:09 AM]
Well, the best one I''ve found is Mark J. Kilgard''s bumpmapping tutorial over at developer.nvidia.com. It covers everything (and I do mean everything) you''ll need to know to implement dot3 bumpapping, which is pretty much the best way of doing per-pixel lighting in OpenGL. You''ll have to search to find it (I''ve just had a look, and I can''t seem to find it. It''s always the same. I have to search for this document for about 10 minutes before I find it), but it''s well worth getting. It teaches the history of bumpmapping (ie. how Blinn, the guy who invented it, devised it), and then how to set up register combiners on nvidia graphics cards to create the bumpmapping effect.

You''ll probably need to read through it quite a few times before you understand it, and don''t be worried if you can''t understand how the bumpmapping calculation is derived at the top. I was told by my college lecturers when I asked them that I''d need to be halfway through a university maths degree course to figure them out. You don''t need to understand explicitly how bumpmapping works to use it, it''s just good to have some kind of idea...


Coding Stuff ->  [ iNsAn1tY Games | DarkVertex | How To Do CSG | Direct3D Vs. OpenGL | Google ]
Fun Stuff    ->  [ Evil T-Shirts | Stick-Based Comedy | You''re Already Here | The Best Film Reviews ]
My opinion is a recombination and regurgitation of the opinions of those around me. I bring nothing new to the table, and as such, can be safely ignored.[ Useful things - Firefox | GLee | Boost | DevIL ]
I think this is the paper iNsAn1tY is refering to...

This topic is closed to new replies.

Advertisement