The LightSource object represents a light source in the 3D scene. It can control the light source emission characteristics, its position and direction. You add light sources to the 3D scene with the help of the LightSources collection of the GLLightModel class. The number of light sources is limited to eight in the current Microsoft OpenGL implementation. For more information on the way that OpenGL implements lighting see the "OpenGL lighting model" topic in the User's Guide.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2