Set the global ambient lighting for the scene when lighting is enabled. This is equivalent to GL.glLightModelfv(GL.GL_LIGHT_MODEL_AMBIENT, color) and does not contribute to the GL_MAX_LIGHTS limit.


color (tuple) – Ambient lighting RGBA intensity for the whole scene.


If unset, the default value is (0.2, 0.2, 0.2, 1.0) when GL_LIGHTING is enabled.

Back to top