View Full Version : skybox color prob

09-18-2002, 08:42 AM
i have a skybox and when i try to color objects in my world the skybox gets the color

09-18-2002, 09:53 AM
This doesn't seem like an advanced question. You need to ensure that the correct state is set before rendering each primitive. OpenGL does not re-set any state when you call SwapBuffers, so it's probably the color of your last item leaking over to the skybox. To see whether this is the case, add a glColor4f( 1,1,1,1 ) before drawing the skybox.