Original Post
Im not exactly sure how to make ONE light that makes everything on screen light up? thats what my light 0 is right now. How would i alter it to make it so that the light looks like its coming from all directions and that it hits every object on screen?
GLfloat mat_specular[]={0.5,0.5,0.5,1.0}; //Set the light...
GLfloat light_position[]={0.0,0.0,10.0,1.0}; //If i want to add more lights later i can
glClearColor (0.0,0.0,0.5,0.0);
glShadeModel(GL_SMOOTH);
glEnable(GL_DEPTH_TEST);
glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, mat_specular);
glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, 8.0);
glLightfv(GL_LIGHT0, GL_POSITION, light_position);
glEnable(GL_LIGHTING);
glEnable(GL_LIGHT0);
glColorMaterial(GL_FRONT_AND_BACK, GL_DIFFUSE);