typedef enum _D3DSHADEMODE {
D3DSHADE_FLAT = 1,
D3DSHADE_GOURAUD = 2,
D3DSHADE_PHONG = 3,
} D3DSHADEMODE;
Describes the supported shade mode for the D3DRENDERSTATE_SHADEMODE render state in the D3DRENDERSTATETYPE enumerated type.
Flat shade mode. The color of the first vertex in the triangle is used to determine the color of the face.
Gouraud shade mode. The color of the face is determined by a linear interpolation between all three of the triangle's vertices.
Phong shade mode is not currently supported.