Jump to content
  • Advertisement

Archived

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

iNsAn1tY

Lighting and stuff...

This topic is 6116 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

I''m just wondering about OpenGL lighting. I''m well up on it, and everything, but I''m looking for some reassurance. You know in a game like Halflife, you have a flashlight. Well, I was trying to replicate this effect in my 3D engine, but I couldn''t. I have large polygons, and I was wondering if tessellating them into very small triangles would solve my problem... iNsAn1tY - the place where imagination and the real world merge... Try http://uk.geocities.com/mentalmantle

Share this post


Link to post
Share on other sites
Advertisement
yes, tessellation is the way to go. the reason is (GL_SMOOTH) lighting is only per vertex lighting so you will not detailed spotlight effect with large polygons.

To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.

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!