16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 00:49:19 +02:00

Merge pull request #66 from eu07/Ryba04-temp

fix color.frag
This commit is contained in:
Ryba04
2024-07-10 23:33:14 +02:00
committed by GitHub

View File

@@ -12,7 +12,7 @@ layout(location = 1) out vec4 out_motion;
void main() void main()
{ {
vec3 col = pow(f_color.rgb, vec3(2.2)); vec3 col = clamp(pow(f_color.rgb, vec3(2.2)),0, 1);
#if POSTFX_ENABLED #if POSTFX_ENABLED
out_color = vec4(apply_fog(col), 1.0f); out_color = vec4(apply_fog(col), 1.0f);
#else #else