Parameters light Specifies a light. The number of lights is depends on the implementation, but at least eight lights are supported.
Parameters light Specifies a light.
The number of lights depends on the implementation, but at least eight lights are supported. Description glLight sets the values of individual light source parameters. When lighting is enabled, light sources that are enabled contribute to the lighting calculation. Integer values are mapped linearly such that the most positive representable value maps to 1.0, and the most negative representable value maps to -1.0. Neither integer nor floating-point values are clamped.