glDisableGLLIGHTING
glDisableGLLIGHTING is a function in the OpenGL graphics API that disables the fixed-function lighting subsystem. When lighting is enabled, OpenGL calculates the illumination of surfaces based on properties like material color, light source position and color, and surface normals. This process simulates how light interacts with objects in a 3D scene, creating realistic shading and highlights.
Calling glDisableGLLIGHTING effectively turns off this lighting calculation. As a result, surfaces will no longer be
To re-enable lighting after it has been disabled, the corresponding function glEnableGLLIGHTING would be used. The