glEnableGLLIGHTING
glEnableGLLIGHTING is a function in the OpenGL graphics API that enables or disables the OpenGL lighting model. Lighting in OpenGL simulates the interaction of light sources with surfaces in a 3D scene. When lighting is enabled, OpenGL calculates the color of each pixel based on the surface's material properties, the position and type of light sources, and the viewer's position.
To use glDisableGLLIGHTING, you would typically call glEnable(GL_LIGHTING) to turn lighting on and glDisable(GL_LIGHTING) to turn
When lighting is disabled, OpenGL resorts to a simpler rendering model where pixel colors are determined solely