D3DX_NORMALMAP
Normal maps generation constants.
#define | Description |
---|
D3DX_NORMALMAP_MIRROR_U | Indicates that pixels off the edge of the texture on the u-axis should be mirrored, not wrapped. |
D3DX_NORMALMAP_MIRROR_V | Indicates that pixels off the edge of the texture on the v-axis should be mirrored, not wrapped. |
D3DX_NORMALMAP_MIRROR | Same as specifying D3DX_NORMALMAP_MIRROR_U | D3DX_NORMALMAP_MIRROR_V. |
D3DX_NORMALMAP_INVERTSIGN | Inverts the direction of each normal. |
D3DX_NORMALMAP_COMPUTE_OCCLUSION | Computes 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
Header | d3dx9tex.h |
---|
Minimum operating system | Windows 98 |
---|