From 56f2953a99496b4a16e2f92beefd86654bbf07fa Mon Sep 17 00:00:00 2001 From: "ALIENJACK\\alien" Date: Thu, 14 Nov 2024 20:10:01 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=9C=E8=89=B2=E9=A2=84=E8=A7=88shader?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/Script/UI/XMBBackGroundPreview.shader | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AxibugEmuOnline.Client/Assets/Script/UI/XMBBackGroundPreview.shader b/AxibugEmuOnline.Client/Assets/Script/UI/XMBBackGroundPreview.shader index 29e7079..4ba64dd 100644 --- a/AxibugEmuOnline.Client/Assets/Script/UI/XMBBackGroundPreview.shader +++ b/AxibugEmuOnline.Client/Assets/Script/UI/XMBBackGroundPreview.shader @@ -165,8 +165,8 @@ float waveCol2 = waveColor(uv, waveHeight2, maxHeight2, frequency2, power2); float3 col = bg; - col = lerp(col, waveCol1 * col, step(uv.y, waveHeight1)); - col = lerp(col, waveCol2 * col, step(uv.y, waveHeight2)); + col = lerp(col, col/waveCol1, step(uv.y, waveHeight1)); + col = lerp(col, col/waveCol2, step(uv.y, waveHeight2)); // Output to screen fixed4 fragColor = float4(col,1.0);