Jump to content
  • Advertisement

Archived

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

mAdMaLuDaWg

Newbie Lighting Q

This topic is 6003 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!