Note: This documentation is preliminary and is subject to change.
Defines the flags used to convert a height map into a normal map.
Definition
Visual Basic .NET
Public Enum NormalMap
C#
public enum NormalMap
Managed C++
__value public enum NormalMap
JScript .NET
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.