Fix a 7-year old bug in crt-royale-bloom-approx.h (#618)

- It wasn't outputting the correct shader calculations and just spitting input colors;
- This bug only causes a slightly sharpening of final picture, so I understand that it passed unnoticed through porting.
This commit is contained in:
Hyllian 2024-08-04 09:49:00 -03:00 committed by GitHub
parent 679a3321c1
commit b327343b77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -363,5 +363,5 @@ void main()
color = float3(color_r.r, color_g.g, color_b.b);
}
// Encode and output the blurred image:
FragColor = encode_output(float4(tex2D_linearize(ORIG_LINEARIZED, tex_uv)));
FragColor = encode_output(float4(color, 1.0));
}