Class GlobalIlluminationSettings
Contains settings for Global Illumination effect rendering.
Inheritance
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class GlobalIlluminationSettings : ValueType
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
[EditorOrder(11)]
[Limit(0F, 10F, 0.01F)]
public float BounceIntensity
Field Value
System.Single
|
Distance
Draw distance of the Global Illumination effect. Scene outside the range will use fallback irradiance.
Declaration
[EditorOrder(30)]
[Limit(1000F, 3.40282347E+38F, 1F)]
public float Distance
Field Value
System.Single
|
FallbackIrradiance
The irradiance lighting outside the GI range used as a fallback to prevent pure-black scene outside the Global Illumination range.
Declaration
[EditorOrder(40)]
public Color FallbackIrradiance
Field Value
Color
|
Intensity
Global Illumination indirect lighting intensity scale. Can be used to boost or reduce GI effect.
Declaration
[EditorOrder(10)]
[Limit(0F, 10F, 0.01F)]
public float Intensity
Field Value
System.Single
|
Mode
The Global Illumination mode to use.
Declaration
[EditorOrder(0)]
public GlobalIlluminationMode Mode
Field Value
GlobalIlluminationMode
|
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
[EditorOrder(20)]
[Limit(0F, 1F, 1F)]
public float TemporalResponse
Field Value
System.Single
|
Properties
Default
The default GlobalIlluminationSettings.
Declaration
public static GlobalIlluminationSettings Default { get; }
Property Value
GlobalIlluminationSettings
|