Struct ColorGradingSettings
Contains settings for Color Grading effect rendering.
Inherited Members
Assembly: FlaxEngine.dll
File: Engine/Graphics/PostProcessSettings.h
Syntax
public struct ColorGradingSettings : public ISerializable
Fields
ColorContrast
Gets or sets the color contrast (applies globally to the whole image). Default is 1.
Declaration
public Float4 ColorContrast = Float4::One
Field Value
Float4
|
ColorContrastHighlights
Gets or sets the color contrast (applies to highlights only). Default is 1.
Declaration
public Float4 ColorContrastHighlights = Float4::One
Field Value
Float4
|
ColorContrastMidtones
Gets or sets the color contrast (applies to midtones only). Default is 1.
Declaration
public Float4 ColorContrastMidtones = Float4::One
Field Value
Float4
|
ColorContrastShadows
Gets or sets the color contrast (applies to shadows only). Default is 1.
Declaration
public Float4 ColorContrastShadows = Float4::One
Field Value
Float4
|
ColorGain
Gets or sets the color gain (applies globally to the whole image). Default is 1.
Declaration
public Float4 ColorGain = Float4::One
Field Value
Float4
|
ColorGainHighlights
Gets or sets the color gain (applies to highlights only). Default is 1.
Declaration
public Float4 ColorGainHighlights = Float4::One
Field Value
Float4
|
ColorGainMidtones
Gets or sets the color gain (applies to midtones only). Default is 1.
Declaration
public Float4 ColorGainMidtones = Float4::One
Field Value
Float4
|
ColorGainShadows
Gets or sets the color gain (applies to shadows only). Default is 1.
Declaration
public Float4 ColorGainShadows = Float4::One
Field Value
Float4
|
ColorGamma
Gets or sets the color gamma (applies globally to the whole image). Default is 1.
Declaration
public Float4 ColorGamma = Float4::One
Field Value
Float4
|
ColorGammaHighlights
Gets or sets the color gamma (applies to highlights only). Default is 1.
Declaration
public Float4 ColorGammaHighlights = Float4::One
Field Value
Float4
|
ColorGammaMidtones
Gets or sets the color gamma (applies to midtones only). Default is 1.
Declaration
public Float4 ColorGammaMidtones = Float4::One
Field Value
Float4
|
ColorGammaShadows
Gets or sets the color gamma (applies to shadows only). Default is 1.
Declaration
public Float4 ColorGammaShadows = Float4::One
Field Value
Float4
|
ColorOffset
Gets or sets the color offset (applies globally to the whole image). Default is 0.
Declaration
public Float4 ColorOffset = Float4::Zero
Field Value
Float4
|
ColorOffsetHighlights
Gets or sets the color offset (applies to highlights only). Default is 0.
Declaration
public Float4 ColorOffsetHighlights = Float4::Zero
Field Value
Float4
|
ColorOffsetMidtones
Gets or sets the color offset (applies to midtones only). Default is 0.
Declaration
public Float4 ColorOffsetMidtones = Float4::Zero
Field Value
Float4
|
ColorOffsetShadows
Gets or sets the color offset (applies to shadows only). Default is 0.
Declaration
public Float4 ColorOffsetShadows = Float4::Zero
Field Value
Float4
|
ColorSaturation
Gets or sets the color saturation (applies globally to the whole image). Default is 1.
Declaration
public Float4 ColorSaturation = Float4::One
Field Value
Float4
|
ColorSaturationHighlights
Gets or sets the color saturation (applies to highlights only). Default is 1.
Declaration
public Float4 ColorSaturationHighlights = Float4::One
Field Value
Float4
|
ColorSaturationMidtones
Gets or sets the color saturation (applies to midtones only). Default is 1.
Declaration
public Float4 ColorSaturationMidtones = Float4::One
Field Value
Float4
|
ColorSaturationShadows
Gets or sets the color saturation (applies to shadows only). Default is 1.
Declaration
public Float4 ColorSaturationShadows = Float4::One
Field Value
Float4
|
HighlightsMin
The highlights minimum value. Default is 0.5.
Declaration
public float HighlightsMin = 0.5f
Field Value
float
|
LutTexture
The Lookup Table (LUT) used to perform color correction.
Declaration
public SoftAssetReference<Texture> LutTexture
Field Value
SoftAssetReference<Texture>
|
LutWeight
The LUT blending weight (normalized to range 0-1). Default is 1.0.
Declaration
public float LutWeight = 1.0f
Field Value
float
|
OverrideFlags
The flags for overriden properties.
Declaration
public ColorGradingSettingsOverride OverrideFlags = Override::None
Field Value
ColorGradingSettingsOverride
|
ShadowsMax
The shadows maximum value. Default is 0.09.
Declaration
public float ShadowsMax = 0.09f
Field Value
float
|
Methods
BlendWith(ColorGradingSettings& other, float weight)
Blends the settings using given weight.
Declaration
public void BlendWith(ColorGradingSettings& other, float weight)
Parameters
ColorGradingSettings
other
The other settings. |
float
weight
The blend weight. |