public sealed class FxaaRendererFXAA: the cheap antialiasing, and the one that needs nothing but the colour it is given.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Luminance edges found from the frame itself, blended along their direction. It needs no history, no motion vectors, no depth and no second sample per pixel, which is why it is the fallback everywhere the others cannot go — mobile, a frame with no motion vectors, a debug view.
What it costs is texture detail: it cannot tell an edge in the geometry from an edge in an albedo map, so it softens both. That is the trade, and it is why TemporalAntialiasingRenderer is the default where it can run.
Fields and properties (5)
public required string SourceThe texture it antialiases.
public bool SubpixelWhether the subpixel pass runs, which softens single-pixel features.
public float EdgeThresholdThe contrast an edge needs before it is antialiased at all.
public float EdgeThresholdMinimumThe floor under that, so a dark area's noise is not treated as edges.
public float SubpixelQualityHow much of the subpixel blend is applied.
Methods (2)
public FxaaRenderer()FXAA: the cheap antialiasing, and the one that needs nothing but the colour it is given.
protected override void Configure(CompositorFrame frame, ParameterCollection parameters, IList<ResourceBinding> bindings)Fills in this frame's parameters and bindings.
Used by (2)
- PostEffectFactoryVixen.Rendering.PostFx
- PostEffectTestsVixen.Rendering.PostFx.Tests