?/TD>
Microsoft DirectX 9.0

D3DX_NORMALMAP


Normal maps generation constants.

#defineDescription
D3DX_NORMALMAP_MIRROR_UIndicates that pixels off the edge of the texture on the u-axis should be mirrored, not wrapped.
D3DX_NORMALMAP_MIRROR_VIndicates that pixels off the edge of the texture on the v-axis should be mirrored, not wrapped.
D3DX_NORMALMAP_MIRRORSame as specifying D3DX_NORMALMAP_MIRROR_U | D3DX_NORMALMAP_MIRROR_V.
D3DX_NORMALMAP_INVERTSIGNInverts the direction of each normal.
D3DX_NORMALMAP_COMPUTE_OCCLUSIONComputes the per-pixel occlusion term and encodes it into the alpha. An alpha of 1 means that the pixel is not obscured in any way, and an alpha of 0 means that the pixel is completely obscured.

Constant Information

Headerd3dx9tex.h
Minimum operating systemWindows 98

Related Topics



© 2002 Microsoft Corporation. All rights reserved.