From 854e59f515de230a7670ee1ff1ca16589c9860bf Mon Sep 17 00:00:00 2001 From: Crementif <26669564+Crementif@users.noreply.github.com> Date: Wed, 29 Jan 2020 19:27:55 +0100 Subject: [PATCH] [BotW] Proper fix for Clarity's dark shadows issue with Vulkan Simply changing the value to 0 fixes it for some reason. --- .../37040a485a29d54e_00000000000003c9_ps.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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));