Re: Can't Get Lighting to Work in Ardor3D
Posted by hedgehog on Mar 21, 2014; 11:42am
URL: https://forum.jogamp.org/Can-t-Get-Lighting-to-Work-in-Ardor3D-tp4031971p4032019.html
I still don't understand how all sphere colour buffers can be filled with red, all point lights are white and yet as the points pass the spheres they show up default grey.
This is a basic application, and I don't think it's related to the tweaking of point light attributes but rather a general setup of object colour via buffer, lighting and assignment of material state. This works well for the stock examples that don't fill the colour buffer, but as soon I do so everything stops working as expected.
I still hold that there is something funny going on when a user fills the colour buffer. There must be a set of calls required to set things up just the same as if the colour buffer wasn't filled.
If someone knows how to get the modified many-lights example working so that they show as red as the lights pass by, then it would be greatly appreciated.