Struct AntiAliasingSettings
Contains settings for Anti Aliasing effect rendering.
Inherited Members
Assembly: FlaxEngine.dll
File: Engine/Graphics/PostProcessSettings.h
Syntax
public struct AntiAliasingSettings : public ISerializable
Fields
CAS_EdgeSharpening
The edge sharpening strength for the Contrast Adaptive Sharpening (CAS) pass. Ignored when using TAA that contains own contrast filter.
Declaration
public float CAS_EdgeSharpening = 0.5f
Field Value
float
|
CAS_MinEdgeThreshold
The minimum edge threshold for the Contrast Adaptive Sharpening (CAS) pass. Ignored when using TAA that contains own contrast filter.
Declaration
public float CAS_MinEdgeThreshold = 0.03f
Field Value
float
|
CAS_OverBlurLimit
The over-blur limit for the Contrast Adaptive Sharpening (CAS) pass. Ignored when using TAA that contains own contrast filter.
Declaration
public float CAS_OverBlurLimit = 1.0f
Field Value
float
|
CAS_SharpeningAmount
The sharpening strength for the Contrast Adaptive Sharpening (CAS) pass. Ignored when using TAA that contains own contrast filter.
Declaration
public float CAS_SharpeningAmount = 0.0f
Field Value
float
|
Mode
The anti-aliasing effect mode.
Declaration
public AntialiasingMode Mode = AntialiasingMode::FastApproximateAntialiasing
Field Value
AntialiasingMode
|
OverrideFlags
The flags for overriden properties.
Declaration
public AntiAliasingSettingsOverride OverrideFlags = Override::None
Field Value
AntiAliasingSettingsOverride
|
TAA_JitterSpread
The diameter (in texels) inside which jitter samples are spread. Smaller values result in crisper but more aliased output, while larger values result in more stable but blurrier output.
Declaration
public float TAA_JitterSpread = 1.0f
Field Value
float
|
TAA_MotionBlending
The blending coefficient for moving fragments. Controls the percentage of history samples blended into the final color for fragments with significant active motion.
Declaration
public float TAA_MotionBlending = 0.85f
Field Value
float
|
TAA_Sharpness
Controls the amount of sharpening applied to the color buffer. TAA can induce a slight loss of details in high frequency regions. Sharpening alleviates this issue. High values may introduce dark-border artifacts.
Declaration
public float TAA_Sharpness = 0.1f
Field Value
float
|
TAA_StationaryBlending
The blend coefficient for stationary fragments. Controls the percentage of history samples blended into the final color for fragments with minimal active motion.
Declaration
public float TAA_StationaryBlending = 0.95f
Field Value
float
|
Methods
BlendWith(AntiAliasingSettings& other, float weight)
Blends the settings using given weight.
Declaration
public void BlendWith(AntiAliasingSettings& other, float weight)
Parameters
AntiAliasingSettings
other
The other settings. |
float
weight
The blend weight. |