From 86db6fa7e2329203344dee59d984a92baa8f85cf Mon Sep 17 00:00:00 2001 From: hunterk Date: Tue, 25 Apr 2017 22:37:48 -0500 Subject: [PATCH] change division to multiplication in gba-color shader --- res/shaders/gba-color.shader/gba-color.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/shaders/gba-color.shader/gba-color.fs b/res/shaders/gba-color.shader/gba-color.fs index 79a4c85d8..09177ddfe 100644 --- a/res/shaders/gba-color.shader/gba-color.fs +++ b/res/shaders/gba-color.shader/gba-color.fs @@ -30,5 +30,5 @@ void main() { color *= adjust; screen = clamp(screen * lum, 0.0, 1.0); screen = color * screen; - gl_FragColor = pow(screen, vec4(1.0 / display_gamma + (darken_screen / 8.))); + gl_FragColor = pow(screen, vec4(1.0 / display_gamma + (darken_screen * 0.125))); }