View Full Version : OpenGL GL_LIGHT
ismo pulkkinen
12-26-2008, 08:18 AM
is GL_LIGHT still limited to maximum of eight?
Rosario Leonardi
12-26-2008, 09:09 AM
In my GForce 8800 yes, still 8 light.
Just don't use glLight and use custom shader parameter if you want more light source.
Warshade
12-27-2008, 03:23 AM
Although I agree that shaders are the way to go, you should be able to use any number of lights with fixed-func you desire by enabling blending and changing the light source's parameters for each pass. The maximum lights simply limits how many lights can affect the model in a single draw call.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.