mirror of https://github.com/mgba-emu/mgba.git
change division to multiplication in gba-color shader
This commit is contained in:
parent
9a78f56467
commit
86db6fa7e2
|
@ -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)));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue