Revert "Force non negative value in bloom"

This reverts commit cb922ed4db.
This commit is contained in:
Vincent Lejeune 2014-09-16 00:37:23 +02:00
parent 45b15c1d65
commit b5598fda57
2 changed files with 2 additions and 2 deletions

View File

@ -12,5 +12,5 @@ void main()
float luma = getCIEYxy(col).x;
col *= smoothstep(1., 10., luma);
FragColor = max(vec4(col, 1.0), vec4(0.));
FragColor = vec4(col, 1.0);
}

View File

@ -10,5 +10,5 @@ void main()
vec4 col = .125 * texture(tex_128, uv);
col += .25 * texture(tex_256, uv);
col += .5 * texture(tex_512, uv);
FragColor = max(vec4(col.xyz, 1.), vec4(0.));
FragColor = vec4(col.xyz, 1.);
}