Revert "fix incorrect auto target exposure values"

This reverts commit 718838d8b7.
This commit is contained in:
MikiP98 2024-11-16 21:39:26 +01:00
parent 1f0517e876
commit 51d696ea5f

View File

@ -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;