Results 1 to 3 of 3

Thread: OpenGL GL_LIGHT

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2008


    is GL_LIGHT still limited to maximum of eight?

  2. #2
    Senior Member Regular Contributor Rosario Leonardi's Avatar
    Join Date
    Aug 2008

    Re: OpenGL GL_LIGHT

    In my GForce 8800 yes, still 8 light.

    Just don't use glLight and use custom shader parameter if you want more light source.
    ~ ~ I tell you, realtime 3D is made of blood, sweat and screams! ~ ~

  3. #3
    Member Newbie
    Join Date
    Dec 2007

    Re: OpenGL GL_LIGHT

    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.

Similar Threads

  1. glMaterial & GL_LIGHT
    By scubasteve in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 10-15-2014, 01:29 PM
  2. Replies: 3
    Last Post: 11-30-2003, 12:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean