Login  Register

Re: Can't Get Lighting to Work in Ardor3D

Posted by jmaasing on Mar 21, 2014; 12:53pm
URL: https://forum.jogamp.org/Can-t-Get-Lighting-to-Work-in-Ardor3D-tp4031971p4032022.html

I don't know how Ardor3D does lighting, I can't find any documentation. But one guess is that it maybe uses fixed-function lighting (GL_COLOR_MATERIAL is fixed-function). Then you must supply normals for each vertex, if not then you'd get the effect of material colors not being used, only the light color. So maybe normals are missing/wrong.