I am making a program and right now i set up two light and i setup the second light just like the first. My problem is that the second light is not working. is there anything i am over looking? any ideas would be appreciated. thanks
glLightfv(GL_LIGHT0, GL_POSITION, light_position);
glLightfv(GL_LIGHT1, GL_POSITION, light2_position);
glEnable(GL_LIGHTING);
glEnable(GL_LIGHT0);
glEnable(GL_LIGHT1);