Vixen
02b45cc4
csharp
public record class TonemapAsset

The pass a frame ends with, and the grade that goes with it.

Read the guide page for this →

Remarks

A node rather than a !FullScreen with the shader named by hand, which is what every host wrote before this: five parameters and three bindings spelled out per project, and no way for a document to say "grade with this table".

Fields and properties (33)

  • 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 linear HDR colour it maps.

  • public string Lut

    A 3D colour lookup table, or empty for none.

  • public string Output

    The name the result is published under.

  • public PixelFormat Format

    The format of the target it declares.

  • public int Operator

    Which curve maps the range: 0 Reinhard, 1 ACES, 2 AgX, 3 filmic, 4 none.

  • public bool EncodeSrgb

    Whether the result is encoded to sRGB here rather than by the target's format.

  • public float Exposure

    What the scene's radiance is multiplied by before the curve.

  • public float Ev100

    The exposure value at ISO 100, or zero to use Exposure as a bare multiplier.

  • public float WhitePoint

    The radiance that maps to white.

  • public float Contrast

    Contrast, around middle grey.

  • public float Saturation

    Saturation, 0 for greyscale.

  • public float Temperature

    The colour temperature the scene is lit at, in kelvin, or zero for none.

  • public string Bloom

    A !Bloom node's pyramid to add before the curve, or empty for no glow.

  • public float BloomIntensity

    How much of that pyramid reaches the image.

  • public float Tint

    Green to magenta, −1 to 1 — the axis a colour temperature does not have.

  • public Vector3 ColorFilter

    Multiplied into the scene before anything else grades it.

  • public float HueShift

    Hue rotation in radians.

  • public float SplitBalance

    Where split toning crosses over, −1 towards shadows and 1 towards highlights.

  • public float FilmicShoulderStrength

    Hable's shoulder strength. Read when Operator is 3.

  • public float FilmicLinearStrength

    Hable's linear strength.

  • public float FilmicLinearAngle

    Hable's linear angle.

  • public float FilmicToeStrength

    Hable's toe strength.

  • public float FilmicToeNumerator

    Hable's toe numerator.

  • public float FilmicToeDenominator

    Hable's toe denominator.

  • public Vector3 BloomTint

    What colour the bloom's spill is.

  • public string BloomDirt

    A lens-dirt texture that brightens the bloom, or empty for a clean lens.

  • public float BloomDirtIntensity

    How much that dirt brightens it.

  • public string View

    The view whose lens sets the exposure, or empty for an authored one.

  • public bool UseColorGrading

    Whether the four-range colour decision list runs.

  • public ColorGrading Grading

    The grade, when UseColorGrading is on.

  • public string ExposureBuffer

    The buffer an !AutoExposure left this frame's measured exposure in.

Used by (4)

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