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

> ## Name

> SpecularMaterialSource - 3D API specular material source

> ## Usage

> SpecularMaterialSource = int(enable)

> ## Valid Enumerants

> enable: true, false

> ## Description

> Enable/disable front and back specular color material. See the GL_SPECULAR description on the OpenGL glColorMaterial manual page for details. See the D3DRS_SPECULARMATERIALSOURCE render state description for DirectX 9.

> The standard reset callback sets the SpecularMaterialSource state to int(AmbientAndDiffuse).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> AmbientMaterialSource, ColorMaterial, DiffuseMaterialSource, EmissiveMaterialSource, MaterialAmbient, MaterialDiffuse, MaterialEmission, MaterialEmissive, MaterialPower, MaterialShininess, MaterialSpecular