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