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
Requirement | Value |
---|---|
Header | d3dx9tex.h |
Minimum operating system | Windows 98 |
Related topics
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for