Vixen
02b45cc4
csharp
public sealed class SharpenRenderer

Contrast-adaptive sharpening: puts back the detail the rest of the chain took out.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Every antialiasing pass and every upscale is a blur, and a frame that has been through both looks soft in a way that reads as low resolution. This is the standard answer — sharpen by an amount that depends on the local contrast, so flat areas are left alone and a ringing halo never appears around a high-contrast edge.

Fields and properties (3)

  • public required string Source

    The texture it sharpens.

  • public bool PerChannel

    Whether each channel adapts on its own rather than on luminance.

  • public float Sharpness

    How much sharpening is applied, 0 to 1.

Methods (2)

  • public SharpenRenderer()

    Contrast-adaptive sharpening: puts back the detail the rest of the chain took out.

  • 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