Parameters pname Specifies a single-valued lighting model parameter.
Parameters pname Specifies a lighting model parameter.
Description glLightModel sets the lighting model parameter. 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. Floating-point values are mapped directly. Neither integer nor floating-point values are clamped. Otherwise specular reflections are computed from the origin of the eye coordinate system.