Jump to content
  • Advertisement

Archived

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

potluck

How many 'Lights' can I use in OpenGL...?

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

Advertisement
an opengl driver must be able to handle at least 8 lights (no maximum) but it really starts hitting your framerate (at least on my card) when u have more than 3 enabled , my suggestion is for each poly/object just enable the closest/most important 3 lights. the others will make harly any negliale difference to the objects appearence but will impact your rendering speed quite a bit

http://members.xoom.com/myBollux

Share this post


Link to post
Share on other sites
... unless your using a GeForce

(I love my graphics card)

Anyways, The best way for anything non-demo is to have an option like, ''number of lights per surface''.

Or you could do your lighting some other way, like textures (sorry forgot its propper name)


ANDREW RUSSELL STUDIOS
Web site coming soon...

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!