fix color.frag

Fixed an error found by Michausto and JAN21
This commit is contained in:
Ryba04
2024-07-10 22:59:03 +02:00
committed by GitHub
parent 633be40ef4
commit a63273d470

View File

@@ -12,7 +12,7 @@ layout(location = 1) out vec4 out_motion;
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
out_color = vec4(apply_fog(col), 1.0f);
#else