Partager via


Perspective-Correct Texture Mapping

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Perspective correct texture mapping is a form of texture coordinate interpolation where the distance of the pixel from the viewer is considered as part of the texture coordinate interpolation.

You can enable perspective correct texture map coordinate interpolation by setting the D3DMRS_TEXTUREPERSPECTIVE render state (see D3DMRENDERSTATETYPE) to TRUE. Its default setting is FALSE.

This implementation differs from Direct3D 8 and later for Windows-based desktop systems. Those systems did not allow the application to disable perspective correct texture map coordinate interpolation.

See Also

Concepts

Interpolation