Search Results for

    Show / Hide Table of Contents

    Struct GlobalIlluminationSettings

    Contains settings for Global Illumination effect rendering.

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

    Fields

    BounceIntensity

    Global Illumination infinite indirect lighting bounce intensity scale. Can be used to boost or reduce GI effect for the light bouncing on the surfaces.

    Declaration
    public float BounceIntensity = 1.0f
    Field Value
    float

    Distance

    Draw distance of the Global Illumination effect. Scene outside the range will use fallback irradiance.

    Declaration
    public float Distance = 20000.0f
    Field Value
    float

    FallbackIrradiance

    The irradiance lighting outside the GI range used as a fallback to prevent pure-black scene outside the Global Illumination range.

    Declaration
    public Color FallbackIrradiance = Color::Black
    Field Value
    Color

    Intensity

    Global Illumination indirect lighting intensity scale. Can be used to boost or reduce GI effect.

    Declaration
    public float Intensity = 1.0f
    Field Value
    float

    Mode

    The Global Illumination mode to use.

    Declaration
    public GlobalIlluminationMode Mode = GlobalIlluminationMode::None
    Field Value
    GlobalIlluminationMode

    OverrideFlags

    The flags for overriden properties.

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

    TemporalResponse

    Defines how quickly GI blends between the current frame and the history buffer. Lower values update GI faster, but with more jittering and noise. If the camera in your game doesn't move much, we recommend values closer to 1.

    Declaration
    public float TemporalResponse = 0.9f
    Field Value
    float

    Methods

    BlendWith(GlobalIlluminationSettings& other, float weight)

    Blends the settings using given weight.

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