PDA

View Full Version : lights



07-10-2000, 09:22 AM
hi I need to read in a file with arbitrary (altohgh less than 8 lights).... can I just index them as such


light0 = gl_Light0
light1 = gl_Light0+1
lightn = gl_Light0+n

etc?

DFrey
07-10-2000, 01:19 PM
Well yes, if you mean GL_LIGHT0 rather that gl_Light0.