description | ms.assetid | title | ms.topic | ms.date |
---|---|---|---|---|
Normal maps generation constants. |
edf4c3e4-1af4-43b4-80c7-6fab02575f7b |
D3DX_NORMALMAP |
article |
05/31/2018 |
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. |
Requirement | Value |
---|---|
Header | d3dx9tex.h |
Minimum operating system | Windows 98 |