I was working my way through the tutorials. When I got to the KeyInput one, I got a different result than the demo image. When I tried to render the demo code on my machine, I got this:
So I noticed that in the earlier tutorials, lightState was disabled. After I disabled it, I got this:
Which looks more like what I'm supposed to see, I think. Should the tutorial be updated? I'm such a newb that I don't want to change it without first confirming with more experienced people.
Platform: Mac OS X 10.6
Hm, yes, I can reproduce what you see.
I added "lightState.setEnabled(false);", I agree it looks better for this sample.
(I cannot edit the copy of this file that is included in the sources though.)