Package com.ms.com.directX Previous
Previous
Microsoft Packages
Microsoft Packages
Index
Index
Next
Next

D3DSHADE_ Values

Describes the supported shade mode for the D3DRENDERSTATE_SHADEMODE render state.

D3DSHADE_FLAT
Flat shade mode. The color of the first vertex in the triangle is used to determine the color of the face.
D3DSHADE_GOURAUD
Gouraud shade mode. The color of the face is determined by a linear interpolation between all three of the triangle's vertices.
D3DSHADE_PHONG
Phong shade mode is not currently supported.


© 1996 Microsoft Corporation. All rights reserved.