From 4f2f67bbfa192c58f68a6454eb9ea07a116fab1d Mon Sep 17 00:00:00 2001 From: Pema Malling Date: Tue, 26 Sep 2023 00:54:33 +0200 Subject: [PATCH] Don't flip the 4band area :P --- .../com.llealloo.audiolink/Runtime/Shaders/AudioLinkUI.shader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/com.llealloo.audiolink/Runtime/Shaders/AudioLinkUI.shader b/Packages/com.llealloo.audiolink/Runtime/Shaders/AudioLinkUI.shader index 819c2d4b..cdc0fd66 100644 --- a/Packages/com.llealloo.audiolink/Runtime/Shaders/AudioLinkUI.shader +++ b/Packages/com.llealloo.audiolink/Runtime/Shaders/AudioLinkUI.shader @@ -515,7 +515,7 @@ float3 color = FOREGROUND_COLOR; float2 sliceSize = float2(size.x, size.y / 4.0); - float strength = getBandAmplitudeLerp((1.0 - uv.y / size.y) * 4.0, uv.x / size.x * 32.0); + float strength = getBandAmplitudeLerp((uv.y / size.y) * 4.0, uv.x / size.x * 32.0); float3 sliceColor = getBandColorLerp(uv.y / sliceSize.y); sliceColor = lerp(sliceColor, sliceColor * 10, pow(strength, 2.0));