-
quick question about lights
i've been wondering, if GL_MAX_LIGHTS = 8
is there any way to set more allowed lights?
-
Re: quick question about lights
the number of allowed lights is set by the implementation on your system (i think on sgi's it is more than 8).... so you cannot change it, but this limit means you can only use 8 lights at a time so you can do something like this
in one portion of the scene set light 1's properties
turn on light 1
draw that portion
turn off light 1
set the proporties in a different portion of the scene
turn on light 1
draw the other portion
so you could really have millions of lights (ha, ha) that effect only portions of the scene
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules