polygon loading example and obj materials

Jan 3, 2014 at 7:03 PM
Hi I am trying to figure out how to get a lighted model in the polygon loading sample to display the model's colors. I have been playing around with the lighting trying to enable GL_AMBIENT and GL_COLORMATERIAL but i can't seem to get it to work. Am I missing something in the example?