Mark TemporalScale in SSR settings as deprecated and add a minor sharpening to SSR temporal filter

This commit is contained in:
Wojtek Figat
2026-01-16 11:20:06 +01:00
parent 9ac231c403
commit 593646061e
4 changed files with 8 additions and 4 deletions

View File

@@ -187,7 +187,9 @@ void ScreenSpaceReflectionsSettings::BlendWith(ScreenSpaceReflectionsSettings& o
BLEND_FLOAT(FadeDistance);
BLEND_BOOL(UseColorBufferMips);
BLEND_BOOL(TemporalEffect);
PRAGMA_DISABLE_DEPRECATION_WARNINGS
BLEND_FLOAT(TemporalScale);
PRAGMA_ENABLE_DEPRECATION_WARNINGS
BLEND_FLOAT(TemporalResponse);
}

View File

@@ -1833,7 +1833,7 @@ API_STRUCT() struct FLAXENGINE_API ScreenSpaceReflectionsSettings : ISerializabl
/// The intensity of the temporal effect. Lower values produce reflections faster, but more noise.
/// </summary>
API_FIELD(Attributes="Limit(0, 20.0f, 0.5f), EditorOrder(55), PostProcessSetting((int)ScreenSpaceReflectionsSettingsOverride.TemporalScale)")
float TemporalScale = 8.0f;
DEPRECATED("TemporalScale of SSR is unsued now.") float TemporalScale = 8.0f;
/// <summary>
/// Defines how quickly reflections blend between the reflection in the current frame and the history buffer. Lower values produce reflections faster, but with more jittering. If the camera in your game doesn't move much, we recommend values closer to 1.