OpenGL and lighting
Hi,
I read elsewhere on this forum that OpenGL is limited to 8 lights ?
Could someone clarify this ?
Thanks
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**
#pragma DWIM // Do What I Mean!
~ Mad Keith ~
**I use Software Mode**
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.st
GA
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**
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**
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement