Search Results for

    Show / Hide Table of Contents

    Struct EyeAdaptationSettings

    Contains settings for Eye Adaptation effect rendering.

    Inherited Members
    ISerializable::Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)
    ISerializable::DeserializeIfExists(DeserializeStream& stream, const char* memberName, ISerializeModifier* modifier)
    EyeAdaptationSettings
    EyeAdaptationSettings
    ISerializable::Serialize(SerializeStream& stream, const void* otherObj)
    EyeAdaptationSettings
    EyeAdaptationSettings
    ISerializable::~ISerializable()
    Assembly: FlaxEngine.dll
    File: Engine/Graphics/PostProcessSettings.h
    Syntax
    public struct EyeAdaptationSettings : public ISerializable

    Fields

    HistogramHighPercent

    The upper bound for the luminance histogram of the scene color. This value is in percent and limits the pixels above this brightness. Use values in the range of 80-95. Used only in AutomaticHistogram mode.

    Declaration
    public float HistogramHighPercent = 90.0f
    Field Value
    float

    HistogramLowPercent

    The lower bound for the luminance histogram of the scene color. This value is in percent and limits the pixels below this brightness. Use values in the range of 60-80. Used only in AutomaticHistogram mode.

    Declaration
    public float HistogramLowPercent = 70.0f
    Field Value
    float

    MaxBrightness

    The maximum brightness for the auto exposure which limits the upper brightness the eye can adapt within.

    Declaration
    public float MaxBrightness = 15.0f
    Field Value
    float

    MinBrightness

    The minimum brightness for the auto exposure which limits the lower brightness the eye can adapt within.

    Declaration
    public float MinBrightness = 0.03f
    Field Value
    float

    Mode

    The effect rendering mode used for the exposure processing.

    Declaration
    public EyeAdaptationMode Mode = EyeAdaptationMode::AutomaticHistogram
    Field Value
    EyeAdaptationMode

    OverrideFlags

    The flags for overriden properties.

    Declaration
    public EyeAdaptationSettingsOverride OverrideFlags = Override::None
    Field Value
    EyeAdaptationSettingsOverride

    PostExposure

    The post-exposure value applied to the scene color after performing post-processing (such as bloom, lens flares, etc.) but before color grading and tone mapping.

    Declaration
    public float PostExposure = 0.0f
    Field Value
    float

    PreExposure

    The pre-exposure value applied to the scene color before performing post-processing (such as bloom, lens flares, etc.).

    Declaration
    public float PreExposure = 0.0f
    Field Value
    float

    SpeedDown

    The speed at which the exposure changes when the scene brightness moves from a bright area to a dark area (brightness goes down).

    Declaration
    public float SpeedDown = 10.0f
    Field Value
    float

    SpeedUp

    The speed at which the exposure changes when the scene brightness moves from a dark area to a bright area (brightness goes up).

    Declaration
    public float SpeedUp = 3.0f
    Field Value
    float

    Methods

    BlendWith(EyeAdaptationSettings& other, float weight)

    Blends the settings using given weight.

    Declaration
    public void BlendWith(EyeAdaptationSettings& other, float weight)
    Parameters
    EyeAdaptationSettings other

    The other settings.

    float weight

    The blend weight.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat