void glLight{if}{v} (GLenum light, GLenum pname, TYPE param);
void glLightModel{if}{v} (GLenum pname, TYPE param);
glLight sets the values of individual light source parameters. light names the light and is a symbolicname of the form GL_LIGHTi, where 0 £ i < GL_MAX_LIGHTS. pname specifies one of ten lightsource parameters, again by symbolic name. params is either a single value or a pointer to an arraythat contains the new values.
glLightModel sets the lighting model parameter. pname names a parameter and params gives thenew value. There are three lighting model parameters: