Vixen
02b45cc4
csharp
public record class AutoExposureAsset

The measured exposure, reduced on the device and never read back.

Read the guide page for this →

Remarks

⚠ It publishes a buffer, not a texture, under a fixed name — so a !Tonemap picks it up by naming that resource in exposureBuffer rather than by naming this node. The value is produced on the device and consumed on the device; a host that read it back would pay a stall and a frame of latency for a number it never looks at.

Fields and properties (16)

  • 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 scene colour it measures.

  • public float DeltaTime

    How long a frame is, for the adaptation rates below.

  • public float BrightenRate

    How fast the eye adapts from dark to bright.

  • public float DarkenRate

    How fast it adapts from bright to dark, which is slower in life and here.

  • public float MiddleGrey

    What the measured average is mapped to.

  • public float MinimumExposure

    The dimmest exposure it will settle at.

  • public float MaximumExposure

    The brightest exposure it will settle at.

  • public int StartSize

    The edge of the first reduction, in texels.

  • public bool UseHistogram

    Whether the frame is metered by a histogram rather than by a geometric mean.

  • public float MinimumLogLuminance

    The darkest luminance the histogram resolves, as a base-2 log.

  • public float MaximumLogLuminance

    And the brightest.

  • public float LowPercentile

    The fraction of the frame discarded from the dark end before the mean is taken.

  • public float HighPercentile

    And from the bright end.

  • public float MeteringPower

    How strongly the centre of the frame counts for more than its edge.

Used by (4)

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