Merge branch 'Tryibion-ppsettings'

This commit is contained in:
Wojtek Figat
2024-03-19 11:08:49 +01:00

View File

@@ -960,7 +960,7 @@ API_STRUCT() struct FLAXENGINE_API EyeAdaptationSettings : ISerializable
/// The speed at which the exposure changes when the scene brightness moves from a bright area to a dark area (brightness goes down). /// The speed at which the exposure changes when the scene brightness moves from a bright area to a dark area (brightness goes down).
/// </summary> /// </summary>
API_FIELD(Attributes="Limit(0, 100.0f, 0.01f), EditorOrder(2), PostProcessSetting((int)EyeAdaptationSettingsOverride.SpeedDown)") API_FIELD(Attributes="Limit(0, 100.0f, 0.01f), EditorOrder(2), PostProcessSetting((int)EyeAdaptationSettingsOverride.SpeedDown)")
float SpeedDown = 1.0f; float SpeedDown = 10.0f;
/// <summary> /// <summary>
/// The pre-exposure value applied to the scene color before performing post-processing (such as bloom, lens flares, etc.). /// The pre-exposure value applied to the scene color before performing post-processing (such as bloom, lens flares, etc.).
@@ -984,7 +984,7 @@ API_STRUCT() struct FLAXENGINE_API EyeAdaptationSettings : ISerializable
/// The maximum brightness for the auto exposure which limits the upper brightness the eye can adapt within. /// The maximum brightness for the auto exposure which limits the upper brightness the eye can adapt within.
/// </summary> /// </summary>
API_FIELD(Attributes="Limit(0, 100.0f, 0.01f), EditorOrder(6), PostProcessSetting((int)EyeAdaptationSettingsOverride.MaxBrightness), EditorDisplay(null, \"Maximum Brightness\")") API_FIELD(Attributes="Limit(0, 100.0f, 0.01f), EditorOrder(6), PostProcessSetting((int)EyeAdaptationSettingsOverride.MaxBrightness), EditorDisplay(null, \"Maximum Brightness\")")
float MaxBrightness = 2.0f; float MaxBrightness = 15.0f;
/// <summary> /// <summary>
/// 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. /// 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.
@@ -996,7 +996,7 @@ API_STRUCT() struct FLAXENGINE_API EyeAdaptationSettings : ISerializable
/// 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. /// 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.
/// </summary> /// </summary>
API_FIELD(Attributes="Limit(1, 99, 0.001f), EditorOrder(3), PostProcessSetting((int)EyeAdaptationSettingsOverride.HistogramHighPercent)") API_FIELD(Attributes="Limit(1, 99, 0.001f), EditorOrder(3), PostProcessSetting((int)EyeAdaptationSettingsOverride.HistogramHighPercent)")
float HistogramHighPercent = 98.0f; float HistogramHighPercent = 90.0f;
public: public:
/// <summary> /// <summary>
@@ -1079,10 +1079,10 @@ API_STRUCT() struct FLAXENGINE_API CameraArtifactsSettings : ISerializable
CameraArtifactsSettingsOverride OverrideFlags = Override::None; CameraArtifactsSettingsOverride OverrideFlags = Override::None;
/// <summary> /// <summary>
/// Strength of the vignette effect. Value 0 hides it. The default value is 0.8. /// Strength of the vignette effect. Value 0 hides it. The default value is 0.4.
/// </summary> /// </summary>
API_FIELD(Attributes="Limit(0, 2, 0.001f), EditorOrder(0), PostProcessSetting((int)CameraArtifactsSettingsOverride.VignetteIntensity)") API_FIELD(Attributes="Limit(0, 2, 0.001f), EditorOrder(0), PostProcessSetting((int)CameraArtifactsSettingsOverride.VignetteIntensity)")
float VignetteIntensity = 0.8f; float VignetteIntensity = 0.4f;
/// <summary> /// <summary>
/// Color of the vignette. /// Color of the vignette.
@@ -1230,25 +1230,25 @@ API_STRUCT() struct FLAXENGINE_API LensFlaresSettings : ISerializable
/// Strength of the effect. A value of 0 disables it. /// Strength of the effect. A value of 0 disables it.
/// </summary> /// </summary>
API_FIELD(Attributes="Limit(0, 10.0f, 0.01f), EditorOrder(0), PostProcessSetting((int)LensFlaresSettingsOverride.Intensity)") API_FIELD(Attributes="Limit(0, 10.0f, 0.01f), EditorOrder(0), PostProcessSetting((int)LensFlaresSettingsOverride.Intensity)")
float Intensity = 1.0f; float Intensity = 0.5f;
/// <summary> /// <summary>
/// Amount of lens flares ghosts. /// Amount of lens flares ghosts.
/// </summary> /// </summary>
API_FIELD(Attributes="Limit(0, 16), EditorOrder(1), PostProcessSetting((int)LensFlaresSettingsOverride.Ghosts)") API_FIELD(Attributes="Limit(0, 16), EditorOrder(1), PostProcessSetting((int)LensFlaresSettingsOverride.Ghosts)")
int32 Ghosts = 8; int32 Ghosts = 4;
/// <summary> /// <summary>
/// Lens flares halo width. /// Lens flares halo width.
/// </summary> /// </summary>
API_FIELD(Attributes="EditorOrder(2), PostProcessSetting((int)LensFlaresSettingsOverride.HaloWidth)") API_FIELD(Attributes="EditorOrder(2), PostProcessSetting((int)LensFlaresSettingsOverride.HaloWidth)")
float HaloWidth = 0.16f; float HaloWidth = 0.04f;
/// <summary> /// <summary>
/// Lens flares halo intensity. /// Lens flares halo intensity.
/// </summary> /// </summary>
API_FIELD(Attributes="Limit(0, 10.0f, 0.01f), EditorOrder(3), PostProcessSetting((int)LensFlaresSettingsOverride.HaloIntensity)") API_FIELD(Attributes="Limit(0, 10.0f, 0.01f), EditorOrder(3), PostProcessSetting((int)LensFlaresSettingsOverride.HaloIntensity)")
float HaloIntensity = 0.666f; float HaloIntensity = 0.5f;
/// <summary> /// <summary>
/// Ghost samples dispersal parameter. /// Ghost samples dispersal parameter.
@@ -1584,7 +1584,7 @@ API_STRUCT() struct FLAXENGINE_API MotionBlurSettings : ISerializable
/// The blur effect strength. A value of 0 disables it, while higher values increase the effect. /// The blur effect strength. A value of 0 disables it, while higher values increase the effect.
/// </summary> /// </summary>
API_FIELD(Attributes="Limit(0, 5, 0.01f), EditorOrder(1), PostProcessSetting((int)MotionBlurSettingsOverride.Scale)") API_FIELD(Attributes="Limit(0, 5, 0.01f), EditorOrder(1), PostProcessSetting((int)MotionBlurSettingsOverride.Scale)")
float Scale = 1.0f; float Scale = 0.5f;
/// <summary> /// <summary>
/// The amount of sample points used during motion blur rendering. It affects blur quality and performance. /// The amount of sample points used during motion blur rendering. It affects blur quality and performance.