Multiple Lights not possible with JOGL????

Hey Folx,

I’m trying to program a little demo by using all 8 lightsources. But somehow i cannot turn on more than LIGHT0. I did several approaches to use additional Lights.
But somehow non of Light1 - LIGHT7 seem to work.
I did a simple test. a solid sphere from the glut packages with one default init of light like Ambient, Diffues, Position etc.
It works. Its no rocket science. But somehow turning on more than one light is;-)
Has someone also this odd behavior???
I just copied my Light init of Light0, moved the LIGHT1 Position abit to see the effect, but ANY LIGHT than LIGHT0 Won’t work.
I’m quite puzzled!!!

Is there an issue with JOGL regarding this???

Thanks for any help or hint

Nomek

LIGHT1 - LIGHT7 do not have the same default values as LIGHT0. Maybe that is the issue?

See glLight

Thanks for the link. But to be honest. I don’t see any suspicious line, why LIGHT1-7 are treated otherwise than LIGHT0. What makes them so special???
I also could’nt find that information in the red book 6th edition. Yes, there is that example of LIGHT1 as an Spot, but i’m quite sure i did’nt saw any line like “LIGHT0 is only for the “main” light and use LIGHT1-7 ONLY as spots like that…”
Maybe i’m to old or blind;-) but could someone push my nose upon that particular information??
Thanks again…

From glLight :

Snoogens!:wink:
thx,
n.