Fix bloom effect on mesa
This commit is contained in:
parent
20ea7ca271
commit
9de7d11ee4
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user