From d600d296eaced2344a57d31b1b04d4a13079670b Mon Sep 17 00:00:00 2001 From: papadanku <115061077+papadanku@users.noreply.github.com> Date: Sat, 7 Sep 2024 07:18:39 -0700 Subject: [PATCH] Update cDLAA.fx --- shaders/cDLAA.fx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders/cDLAA.fx b/shaders/cDLAA.fx index 4327723..63e1b2c 100644 --- a/shaders/cDLAA.fx +++ b/shaders/cDLAA.fx @@ -151,7 +151,7 @@ float4 PS_DLAA(CShade_VS2PS_Quad Input) : SV_TARGET0 float LongEdgeMaskV = saturate((LongBlurV.a * 2.0) - 1.0); [branch] - if (abs(LongEdgeMaskH - LongEdgeMaskV) > ContrastThresholds[ContrastThresholds]) + if (abs(LongEdgeMaskH - LongEdgeMaskV) > _ContrastThreshold[ContrastThresholds]) { float LongBlurLumaH = GetIntensity(LongBlurH.rgb); float LongBlurLumaV = GetIntensity(LongBlurV.rgb);