NormalMap Enumeration (Microsoft.DirectX.Direct3D)
Defines the flags used to convert a height map into a normal map.
Definition
Visual Basic Public Enum NormalMap C# public enum NormalMap C++ public enum class NormalMap JScript public enum NormalMap
Members
Member Value Description ComputeOcclusion 1048576 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; an alpha of 0 means that the pixel is completely obscured. InvertSign 524288 Inverts the direction of each normal. Mirror 196608 Same as specifying MirrorU and MirrorV. MirrorV 131072 Indicates that pixels off the edge of the texture on the v-axis should be mirrored, not wrapped. MirrorU 65536 Indicates that pixels off the edge of the texture on the u-axis should be mirrored, not wrapped.
Remarks
The (x,y,z) components of each normal are mapped to the (r,g,b) channels of the output texture.
Enumeration Information
Namespace Microsoft.DirectX.Direct3D Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll) Strong Name Microsoft.DirectX.Direct3DX, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492
See Also