Re: Can't Get Lighting to Work in Ardor3D
Posted by hedgehog on Mar 19, 2014; 2:23pm
URL: https://forum.jogamp.org/Can-t-Get-Lighting-to-Work-in-Ardor3D-tp4031971p4031977.html
I'd expect to see a red grid just as when I comment out the line in ExampleBase that sets the light render state.
How can a point light with ambient component (0.75,0.75,0.75,0.75) fall on a red object make it appear grey and almost invisible?
If you could illuminate the object without having to comment out the line in ExampleBase, then it would be gratefully appreciated.
I'll read the recommending reading, but still adhere that there is something I don't get about the assigning of a light render state, a material state to an object and filling a mesh's colour buffer directly. I just can't figure out what!