From 8a3c7e0091e86bd97bf328ec72985f2031eea70b Mon Sep 17 00:00:00 2001 From: papadanku <115061077+papadanku@users.noreply.github.com> Date: Tue, 9 Jul 2024 11:37:11 -0700 Subject: [PATCH] Update cAutoExposure.fx --- shaders/cAutoExposure.fx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shaders/cAutoExposure.fx b/shaders/cAutoExposure.fx index 60ff7ec..a69dda2 100644 --- a/shaders/cAutoExposure.fx +++ b/shaders/cAutoExposure.fx @@ -95,8 +95,7 @@ float4 PS_Blit(VS2PS_Quad Input) : SV_TARGET0 if (_Meter == 1) { - float2 CenterMeterTex = UNormTex; - float CenterWeights = smoothstep(sqrt(2.0), 0.0, length(CenterMeterTex)); + float CenterWeights = smoothstep(sqrt(2.0), 0.0, length(UNormTex)); LogLuminance *= CenterWeights; }