D3DMATERIAL8
Specifies material properties.
Type D3DMATERIAL8
ambient As D3DCOLORVALUE
diffuse As D3DCOLORVALUE
emissive As D3DCOLORVALUE
power As Single
specular As D3DCOLORVALUE
End Type
Members
- ambient, diffuse, emissive, and specular
- Values specifying the ambient color, diffuse color, emissive color, and specular color of the material, respectively. These values are D3DCOLORVALUE types.
- power
- Value specifying the sharpness of specular highlights. To turn off specular highlights for a material, set this member to 0; setting the specular color components to 0 is not enough.
See Also
Direct3DDevice8.GetMaterial, Direct3DDevice8.SetMaterial