Specifies material properties.
typedef struct D3DMATERIAL9 { D3DCOLORVALUE Diffuse; D3DCOLORVALUE Ambient; D3DCOLORVALUE Specular; D3DCOLORVALUE Emissive; float Power; } D3DMATERIAL9, *LPD3DMATERIAL9;
To turn off specular highlights, set D3DRS_SPECULARENABLE to FALSE, using D3DRENDERSTATETYPE. This is the fastest option because no specular highlights will be calculated.
For more information about using the lighting engine to calculate specular lighting, see Specular Lighting.
IDirect3DDevice9::GetMaterial, IDirect3DDevice9::SetMaterial, IDirect3DDevice9::SetMaterial