Jump to content
  • Advertisement


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


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

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

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


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)

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!