change division to multiplication in gba-color shader
hunterk hunter_kaller@yahoo.com
Tue, 25 Apr 2017 22:37:48 -0500
1 files changed,
1 insertions(+),
1 deletions(-)
M
res/shaders/gba-color.shader/gba-color.fs
→
res/shaders/gba-color.shader/gba-color.fs
@@ -30,5 +30,5 @@ 0.0, 0.0, 0.0, 1.0);
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))); }