diff --git a/Enhancements/BreathOfTheWild_Clarity/37040a485a29d54e_00000000000003c9_ps.txt b/Enhancements/BreathOfTheWild_Clarity/37040a485a29d54e_00000000000003c9_ps.txt index fbea0011..8beb5d6a 100644 --- a/Enhancements/BreathOfTheWild_Clarity/37040a485a29d54e_00000000000003c9_ps.txt +++ b/Enhancements/BreathOfTheWild_Clarity/37040a485a29d54e_00000000000003c9_ps.txt @@ -1331,11 +1331,7 @@ vec3 LevelsPass(vec3 inputColor) { float white_point_float = WhitePoint == BlackPoint ? (255.0 / 0.00025) : (255.0 / (WhitePoint - BlackPoint)); // Avoid division by zero if the white and black point are the same vec3 color = inputColor; -#ifdef VULKAN - color = color * white_point_float; -#else color = color * white_point_float - (black_point_float * white_point_float); -#endif return color; } @@ -1345,7 +1341,7 @@ vec3 LevelsPass(vec3 inputColor) { vec3 FilmPass(vec3 inputColor) { vec3 B = inputColor.rgb; vec3 G = B; - vec3 H = vec3(0.01); + vec3 H = vec3(0.0); B = clamp(B, 0.0, 1.); B = pow(vec3(B), vec3(Linearization));