OpenGL and lighting

Started by
2 comments, last by gavcc 24 years ago
Hi, I read elsewhere on this forum that OpenGL is limited to 8 lights ? Could someone clarify this ? Thanks
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**
It's only funny 'till someone gets hurt.And then it's just hilarious.Unless it's you.
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
Visit our homepage: www.rarebyte.de.stGA
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**
It's only funny 'till someone gets hurt.And then it's just hilarious.Unless it's you.

This topic is closed to new replies.

Advertisement