Re: Can't Get Lighting to Work in Ardor3D
Posted by
gouessej on
Mar 19, 2014; 7:21pm
URL: https://forum.jogamp.org/Can-t-Get-Lighting-to-Work-in-Ardor3D-tp4031971p4031988.html
The 2 additional lines tells OpenGL to keep your colors, it calls glEnable(GL_COLOR_MATERIAL). If you don't understand what I mean, read at least the very first part of this tutorial:
http://www.swiftless.com/tutorials/opengl/material_lighting.htmlKeep in mind that Renanse stopped maintaining Ardor3D and most of the time I was already alone to answer to questions about Ardor3D, it's a bit difficult for me. Moreover, I still think that some knowledge of OpenGL basics is useful to understand how OpenGL-based scenegraphs work.