From 2bb1254fa40cc32c715e6da5135797b7498fbe8f Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Sun, 2 Feb 2014 02:13:04 +0100 Subject: [PATCH] Fix bloom shader --- data/shaders/bloom.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/shaders/bloom.frag b/data/shaders/bloom.frag index 3376cdb4a..886b49ea0 100644 --- a/data/shaders/bloom.frag +++ b/data/shaders/bloom.frag @@ -11,7 +11,7 @@ void main() vec3 col = texture(tex, uv).xyz; float luma = dot(weights, col); - col *= smoothstep(low, 0.9, luma); + col *= smoothstep(1., 2., luma); FragColor = vec4(col, 1.0); }