Name
MaterialAmbient - 3D API material ambient
Usage
MaterialAmbient = float4(r, g, b, a)
Valid Enumerants
r, g, b, a: floating point values
Description
Specify the materials ambient reflectance values. See the GL_AMBIENT description on the OpenGL glMaterial manual page for details. See the D3DRS_AMBIENTMATERIALSOURCE render state description for DirectX 9.
The standard reset callback sets the MaterialAmbient state to float4(0.2, 0.2, 0.2, 1.0).
Opengl Functionality Requirements
OpenGL 1.0
Direct3D Functionality Requirements
DirectX 9
See Also
AmbientMaterialSource, ColorMaterial, DiffuseMaterialSource, EmissiveMaterialSource, MaterialDiffuse, MaterialEmission, MaterialEmissive, MaterialPower, MaterialShininess, MaterialSpecular, SpecularMaterialSource