docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AutoExposure

    This class holds settings for the Auto Exposure effect.

    Inheritance
    object
    Object
    ScriptableObject
    PostProcessEffectSettings
    AutoExposure
    Inherited Members
    PostProcessEffectSettings.active
    PostProcessEffectSettings.enabled
    PostProcessEffectSettings.SetAllOverridesTo(bool, bool)
    PostProcessEffectSettings.GetHash()
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.PostProcessing
    Assembly: Unity.Postprocessing.Runtime.dll
    Syntax
    [Serializable]
    public sealed class AutoExposure : PostProcessEffectSettings

    Fields

    eyeAdaptation

    The type of eye adaptation to use.

    Declaration
    [DisplayName("Type")]
    [Tooltip("Use \"Progressive\" if you want auto exposure to be animated. Use \"Fixed\" otherwise.")]
    public EyeAdaptationParameter eyeAdaptation
    Field Value
    Type Description
    EyeAdaptationParameter

    filtering

    These values are the lower and upper percentages of the histogram that will be used to find a stable average luminance. Values outside of this range will be discarded and wont contribute to the average luminance.

    Declaration
    [MinMax(1, 99)]
    [DisplayName("Filtering (%)")]
    [Tooltip("Filters the bright and dark parts of the histogram when computing the average luminance. This is to avoid very dark pixels and very bright pixels from contributing to the auto exposure. Unit is in percent.")]
    public Vector2Parameter filtering
    Field Value
    Type Description
    Vector2Parameter

    keyValue

    Middle-grey value. Use this to compensate the global exposure of the scene.

    Declaration
    [Min(0)]
    [DisplayName("Exposure Compensation")]
    [Tooltip("Use this to scale the global exposure of the scene.")]
    public FloatParameter keyValue
    Field Value
    Type Description
    FloatParameter

    maxLuminance

    Maximum average luminance to consider for auto exposure (in EV).

    Declaration
    [Range(-9, 9)]
    [DisplayName("Maximum (EV)")]
    [Tooltip("Maximum average luminance to consider for auto exposure. Unit is EV.")]
    public FloatParameter maxLuminance
    Field Value
    Type Description
    FloatParameter

    minLuminance

    Minimum average luminance to consider for auto exposure (in EV).

    Declaration
    [Range(-9, 9)]
    [DisplayName("Minimum (EV)")]
    [Tooltip("Minimum average luminance to consider for auto exposure. Unit is EV.")]
    public FloatParameter minLuminance
    Field Value
    Type Description
    FloatParameter

    speedDown

    The adaptation speed from a light to a dark environment.

    Declaration
    [Min(0)]
    [Tooltip("Adaptation speed from a light to a dark environment.")]
    public FloatParameter speedDown
    Field Value
    Type Description
    FloatParameter

    speedUp

    The adaptation speed from a dark to a light environment.

    Declaration
    [Min(0)]
    [Tooltip("Adaptation speed from a dark to a light environment.")]
    public FloatParameter speedUp
    Field Value
    Type Description
    FloatParameter

    Methods

    IsEnabledAndSupported(PostProcessRenderContext)

    Returns true if the effect is currently enabled and supported.

    Declaration
    public override bool IsEnabledAndSupported(PostProcessRenderContext context)
    Parameters
    Type Name Description
    PostProcessRenderContext context

    The current post-processing render context

    Returns
    Type Description
    bool

    true if the effect is currently enabled and supported

    Overrides
    PostProcessEffectSettings.IsEnabledAndSupported(PostProcessRenderContext)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)