Fix bloom effect on mesa

This commit is contained in:
Vincent Lejeune 2014-10-07 00:00:16 +02:00
parent 20ea7ca271
commit 9de7d11ee4

View File

@ -14,5 +14,5 @@ void main()
Yxy.x = smoothstep(WhiteYxy.x, WhiteYxy.x * 4, Yxy.x); Yxy.x = smoothstep(WhiteYxy.x, WhiteYxy.x * 4, Yxy.x);
FragColor = vec4(getRGBFromCIEXxy(Yxy), 1.0); FragColor = vec4(max(vec3(0.), getRGBFromCIEXxy(Yxy)), 1.0);
} }