DirectX SDK |
The D3DMATERIAL7 type specifies material properties in calls to the Direct3DDevice7.GetMaterial and Direct3DDevice7.SetMaterial methods.
Type D3DMATERIAL7 ambient As D3DCOLORVALUE diffuse As D3DCOLORVALUE emissive As D3DCOLORVALUE power As Single specular As D3DCOLORVALUE End Type
To turn off specular highlights for a material, you must set the power member to 0—simply setting the specular color components to 0 is not enough.