Fix bloom shader

This commit is contained in:
Vincent Lejeune 2014-02-02 02:13:04 +01:00
parent afd5d1917c
commit 2bb1254fa4

View File

@ -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);
}