From 6a5aacd339487cda9be507df8e1085bf265d8955 Mon Sep 17 00:00:00 2001 From: crashGG <80488411+crashGG@users.noreply.github.com> Date: Wed, 10 Jun 2026 15:21:46 +0300 Subject: [PATCH] =?UTF-8?q?MMPX=20Advanced=20=EF=BC=9AFix=20another=20subt?= =?UTF-8?q?le=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix another subtle bug --- assets/shaders/tex_mmpx_adv.csh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/shaders/tex_mmpx_adv.csh b/assets/shaders/tex_mmpx_adv.csh index a6478b969a..50664d6714 100644 --- a/assets/shaders/tex_mmpx_adv.csh +++ b/assets/shaders/tex_mmpx_adv.csh @@ -890,7 +890,7 @@ if (!skiprest && float DD = float(eq(A, D)); float FF = float(eq(C, F)); - float sideFactor = eq_B_D && DD!=FF ? 1.0 : -0.145898; + float sideFactor = eq_D_F && DD!=FF ? 1.0 : -0.145898; Bl = fract(Bl) - (B1 +B2 +B1*B2) *0.381966; Dl = fract(Dl) - step(El, Dl) + DD*sideFactor; @@ -920,7 +920,7 @@ if (!skiprest && float DD = float(eq(D, G)); float FF = float(eq(F, I)); - float sideFactor = eq_B_D && DD!=FF ? 1.0 : -0.145898; + float sideFactor = eq_D_F && DD!=FF ? 1.0 : -0.145898; Hl = fract(Hl) - (H1+H2+H1*H2) *0.381966; Dl = fract(Dl) - step(El, Dl) + DD*sideFactor;