Search Results for

    Show / Hide Table of Contents

    Struct ToneMappingSettings

    Contains settings for Tone Mapping effect rendering.

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

    Fields

    Mode

    The tone mapping mode to use for the color grading process.

    Declaration
    public ToneMappingMode Mode = ToneMappingMode::ACES
    Field Value
    ToneMappingMode

    OverrideFlags

    The flags for overriden properties.

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

    WhiteTemperature

    Adjusts the white balance in relation to the temperature of the light in the scene. When the light temperature and this one match the light will appear white. When a value is used that is higher than the light in the scene it will yield a "warm" or yellow color, and, conversely, if the value is lower, it would yield a "cool" or blue color.

    Declaration
    public float WhiteTemperature = 6500.0f
    Field Value
    float

    WhiteTint

    Adjusts the white balance temperature tint for the scene by adjusting the cyan and magenta color ranges. Ideally, this setting should be used once you've adjusted the white balance temperature to get accurate colors. Under some light temperatures, the colors may appear to be more yellow or blue. This can be used to balance the resulting color to look more natural.

    Declaration
    public float WhiteTint = 0.0f
    Field Value
    float

    Methods

    BlendWith(ToneMappingSettings& other, float weight)

    Blends the settings using given weight.

    Declaration
    public void BlendWith(ToneMappingSettings& other, float weight)
    Parameters
    ToneMappingSettings 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