Jump to content
  • Advertisement

Archived

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

gavcc

OpenGL OpenGL and lighting

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

Hi, I read elsewhere on this forum that OpenGL is limited to 8 lights ? Could someone clarify this ? Thanks

Share this post


Link to post
Share on other sites
Advertisement
The OpenGL specification states that a minimum implementation should allow for at least 8 simultaneous active light sources. And of course, you know everyone goes for the minimum, so most OpenGL implementations give you (you guessed it) eight active lights at a time.


#pragma DWIM // Do What I Mean!
~ Mad Keith ~
**I use Software Mode**

Share this post


Link to post
Share on other sites
Eight lights is not much so much games have own lighting engines. Does anyone know if there''s a higher minimum in OpenGL 1.2?

Visit our homepage: www.rarebyte.de.st

GA

Share this post


Link to post
Share on other sites
Eight active lights is actually enough for most purposes, you can do really interesting things with it.
Have a look at an article called "virtualised light sources" somewhere in the developer section of www.opengl.org.


#pragma DWIM // Do What I Mean!
~ Mad Keith ~
**I use Software Mode**

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!