Vixen
02b45cc4
csharp
public record class FxaaAsset

Fast approximate antialiasing, on the graded image.

Read the guide page for this →

Remarks

⚠ Last, and on display-referred colour. FXAA finds edges by luminance contrast, and contrast in scene-referred light is unbounded — a specular highlight next to a shadow is a ratio of thousands, so every threshold in the shader would be meaningless. Put it after the tonemap or it does nothing useful.

Fields and properties (9)

  • public string Name

    The node's name, for debug groups and for a human reading the file.

  • public bool Enabled

    Whether the node runs.

  • public string Source

    The image it antialiases.

  • public string Output

    The name the result is published under.

  • public PixelFormat Format

    The format of the target it declares.

  • public bool Subpixel

    Whether sub-pixel aliasing is smoothed as well as edges.

  • public float EdgeThreshold

    Contrast below which a pixel is left alone.

  • public float EdgeThresholdMinimum

    The darkest contrast worth looking at, which keeps noise out of shadows.

  • public float SubpixelQuality

    How much of the sub-pixel estimate is applied.

Used by (4)

  • PostEffectFactoryVixen.Rendering.PostFx
  • PostEffectTestsVixen.Rendering.PostFx.Tests
  • TypeRegistrationVixen.Rendering.PostFx
  • Vixen_Rendering_PostFx_FxaaAssetSerializerVixen.Rendering.PostFx