commit 52b4416f5db0f4b617ec0a94a930ee8d0ae15155 parent b5137de89e5c39b89274506f4b4afaedbc5dd3bf Author: Michael Savage <mikejsavage@gmail.com> Date: Sun, 29 Oct 2017 20:31:29 +0200 More linear to sRGB Diffstat:
shaders/flat_textured.glsl | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shaders/flat_textured.glsl b/shaders/flat_textured.glsl @@ -23,7 +23,7 @@ uniform sampler2D tex; out vec4 screen_colour; void main() { - screen_colour = texture( tex, frag_uv ) * frag_colour; + screen_colour = linear_to_srgb( texture( tex, frag_uv ) * frag_colour ); } #endif