COpenGL::SetLightModelLocalViewer![]()
void SetLightModelLocalViewer( BOOL bMode );
Parameters
| bMode | if TRUE the specular reflections are computed according to the current eye position. If FALSE specular reflection angles are computed as if the eye were at an infinite distance. |
Remarks
Use the SetLightModelLocalViewer method function to specify how specular reflections are computed. For more information see the OpenGL glLightModel function documentation.
| Note: | The SetLightModelLocalViewer member function uses the current OpenGL rendering context. Ensure that the current rendering context is what you intend to use. Use wglMakeCurrent or DrawBegin member functions to set the current rendering context. |
See Also
SetLightingMode, GetLightingMode, GetNumberOfLights, SetLightState, GetLightState, GetLightModelLocalViewer
![]()
| © 2001 Solid Graphics, All rights reserved. |
| To view this site, we require use of either Netscape Navigator 4.0 or higher or Internet Explorer 4.0 or higher. |