From 4984537cd399c7bf2299ef3fc1b8830a061d47f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20Sch=C3=BCrz?= Date: Tue, 22 Oct 2024 18:43:36 +0200 Subject: [PATCH] Update blur parameters --- osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSlider.cs | 5 +---- .../Skinning/Default/DrawableSliderPath.cs | 6 ++++++ osu.Game.Rulesets.Osu/Skinning/Legacy/LegacySliderBody.cs | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSlider.cs b/osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSlider.cs index d35f366f24..eacd2b3e75 100644 --- a/osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSlider.cs +++ b/osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSlider.cs @@ -337,10 +337,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables { base.UpdateInitialTransforms(); - // The backdrop blur opacity should fade in quicker, but the overall alpha should fade in linearly. - // By using OutQuad easing on both the blur container & the child, we end up getting a linear fade in. - Body.FadeInFromZero(HitObject.TimeFadeIn, Easing.OutQuad); - Body.FadeInFromZero(HitObject.TimeFadeIn, Easing.OutQuad); + Body.FadeInFromZero(HitObject.TimeFadeIn); } protected override void UpdateStartTimeStateTransforms() diff --git a/osu.Game.Rulesets.Osu/Skinning/Default/DrawableSliderPath.cs b/osu.Game.Rulesets.Osu/Skinning/Default/DrawableSliderPath.cs index 5bfbc8f247..b2794720c4 100644 --- a/osu.Game.Rulesets.Osu/Skinning/Default/DrawableSliderPath.cs +++ b/osu.Game.Rulesets.Osu/Skinning/Default/DrawableSliderPath.cs @@ -2,6 +2,7 @@ // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics.Lines; +using osuTK; using osuTK.Graphics; namespace osu.Game.Rulesets.Osu.Skinning.Default @@ -14,6 +15,11 @@ namespace osu.Game.Rulesets.Osu.Skinning.Default private const float border_max_size = 8f; private const float border_min_size = 0f; + protected DrawableSliderPath() + { + EffectBufferScale = new Vector2(0.25f); + } + private Color4 borderColour = Color4.White; public Color4 BorderColour diff --git a/osu.Game.Rulesets.Osu/Skinning/Legacy/LegacySliderBody.cs b/osu.Game.Rulesets.Osu/Skinning/Legacy/LegacySliderBody.cs index 78c26613c3..748bff4191 100644 --- a/osu.Game.Rulesets.Osu/Skinning/Legacy/LegacySliderBody.cs +++ b/osu.Game.Rulesets.Osu/Skinning/Legacy/LegacySliderBody.cs @@ -26,7 +26,7 @@ namespace osu.Game.Rulesets.Osu.Skinning.Legacy { public LegacyDrawableSliderPath() { - BlurSigma = new Vector2(8f); + BlurSigma = new Vector2(16f); BackdropTintStrength = 0.5f;