Skip to content
On this page

struct FNormalCasterSettings

No description available.

Members

TypeMemberDescription
uint8CalculateBitangentPerFragmentIf set, the normal caster calculates the bitangent used for encoding per-fragment using the normal, tangent and bitangent sign instead of interpolating the actual bitangent vertex data. This needs to match the behavior of the renderer to not produce rendering artifacts.
intDilationThe Dilation value. Where applicable, such as colors and normals, the caster will fill empty pixels surrounding filled pixels with values mixed from the filled ones. This setting sets how many pixels to fill outside the original filled pixels.
EDitherTypeDitherTypeThe type of dithering to use when creating the output object.
EFillModeFillModeThe fill mode determines what to do with the pixels that remain unfilled after both the casting and dilation has been performed. Options are: None = Do not fill remaining pixels Interpolate = linearly interpolate the closest samples NearestNeighbor = use the closest available pixel value without interpolation.
uint8FlipBackfacingNormalsIf set, then normals will be flipped if they are back facing, i.e. pointing into the surface. This may introduce artifacts on geometries that have correctly facing normals, so only use for geometries with known back-facing normals.
uint8FlipGreenIf set, the green channel is assumed to point along the negative bitangent instead of the positive. This is roughly equivalent to switching between left- and righthanded, but some rounding may differ.
uint8GenerateTangentSpaceNormalsIf set, then the generated normal map will be in tangent space. Please note that the geometry casted to must contain tangent space fields.
class FStringMaterialChannelThe name of the input material channel to cast. Existing user channels of any arbitrary name in the input materials can be cast.
uint8NormalizeInterpolatedTangentSpaceIf set, the normal caster normalizes the normal and tangent data used for encoding after interpolation. This needs to match the behavior of the renderer to not produce rendering artifacts.
class FStringOpacityChannelThe name of the input opacity channel to use for combining layers in most casters and casting opacity in the opacitycaster. User channels of any arbitrary name can be used. If the caster is run through a Pipeline object, the OpacityChannel set here will also be set as the output materials OpacityChannel property.
EOpacityChannelComponentOpacityChannelComponentThe component in the opacity channel to use as opacity value.
EOutputDDSCompressionTypeOutputDDSCompressionTypeDDS compression if output format is DDS.
EOutputImageFileFormatOutputImageFileFormatFile format for output texture.
EOutputPixelFormatOutputPixelFormatThe output pixel format
uint8UseMultisamplingEnable or disable multisampling.

Methods

MethodDescription
StaticStructNo description available.

StaticStruct