Partager via


Interpolation (Windows Embedded CE 6.0)

1/6/2010

Microsoft® Direct3D® Mobile only interpolates the vertex values that are necessary for the current render states. These interpolation values include diffuse and specular colors (with the fog value in the specular alpha channel), depth, and texture map coordinates.

There are two separate color interpolation modes that are applied to the diffuse and specular colors. The modes are flat and Gouraud shading. The D3DMRS_SHADEMODE render state (see D3DMRENDERSTATETYPE) is used to select between those modes, by passing in a value from the D3DMSHADEMODE enumeration. Its default value is D3DMSHADE_GOURAUD.

The following topics contain additional information about interpolation.

See Also

Concepts

Rasterization