From 51d696ea5f33ceddfadf9332b2de909287f21545 Mon Sep 17 00:00:00 2001 From: MikiP98 <79966387+MikiP98@users.noreply.github.com> Date: Sat, 16 Nov 2024 21:39:26 +0100 Subject: [PATCH] Revert "fix incorrect auto target exposure values" This reverts commit 718838d8b781290790301d287ef2f050c76d2177. --- shaders/dimensions/deferred.vsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shaders/dimensions/deferred.vsh b/shaders/dimensions/deferred.vsh index df35a2f..5378d88 100644 --- a/shaders/dimensions/deferred.vsh +++ b/shaders/dimensions/deferred.vsh @@ -288,9 +288,9 @@ void main() { float keyVal = 1.03-2.0/(log(L*4000/150.*8./3.0+1.0)/log(10.0)+2.0); float expFunc = 0.5+0.5*tanh(log(L)); - // float targetExposure = 1.0/log(L+1.05); - float targetExposure = 0.35/log(L+1.05); // mine - // float targetExposure = 0.18/log2(L*2.5+1.045)*0.62; // choc original + float targetExposure = 1.0/log(L+1.05); + // float targetExposure = 0.35/log(L+1.05); + // float targetExposure = 0.18/log2(L*2.5+1.045)*0.62; avgL2 = clamp(mix(avgB,texelFetch2D(colortex4,ivec2(10,37),0).b,0.985),0.00003051757,65000.0); float targetrodExposure = max(0.012/log2(avgL2+1.002)-0.1,0.0)*1.2;