   after enabling light, everything lost color
  hello,I draw some objects in a scene, each object has a color assigned to it, but after I enable the lighting, all colors are lost, everything appears gray, why is that? could anyone please shed some lights on this?Thx!   
  Are any normals in your model? You have to make sure that normals are in your geometry to use lights. If not see the OpenGL-FAQ about that.And maybe some code can help us to help you better :-).With best regards,Kimmi;  Lighting uses the currently set material. I guess you neither didn't set a material nor called glEnable(GL_COLOR_MATERIAL) along with glColorMaterial(...).You might try:glEnable(GL_COLOR_MATERIAL);glColorMaterial(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE);   ;  thanks you guys! i'll look into the links you give.   