Archived

This topic is now archived and is closed to further replies.

mAdMaLuDaWg

Newbie Lighting Q

Recommended Posts

mAdMaLuDaWg    122
Sup, I have a question about lighting. What is the difference between Ambient,diffuse,specular and position light? I did read the definitions in the OpenGL game programming book but I really can''t seem to figure out why they are different when applying them to my program. Thanks.

Share this post


Link to post
Share on other sites
vincoof    514
Take a look at the online OpenGL Programming Guide (aka Red Book). In "Chapter 5 Lighting" there very good explanations. At least it will be explained far better than anyone posting here I guess.

Go look for "Real-World and OpenGL Lighting" which is almost at the beginning of Chapter 5. There''s an awesome description.

Share this post


Link to post
Share on other sites