LocalViewer
Keywords: LocalViewer, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> LocalViewer - 3D API local viewer

> ## Usage

> LocalViewer = bool(enable)

> ## Valid Enumerants

> enable: true, false

> ## Description

> Enable/disable computation of specular reflections using the local viewer model. See the GL_LIGHT_MODEL_LOCAL_VIEWER description on the OpenGL glLightModel manual page for details. See the D3DRS_LOCALVIEWER render state description for DirectX 9.

> The standard reset callback sets the LocalViewer state to bool(false).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> LightModelLocalViewerEnable