From b327343b77bbca47ced7cd9acd8ca2f8ea70ace9 Mon Sep 17 00:00:00 2001 From: Hyllian Date: Sun, 4 Aug 2024 09:49:00 -0300 Subject: [PATCH] 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. --- crt/shaders/crt-royale/src/crt-royale-bloom-approx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crt/shaders/crt-royale/src/crt-royale-bloom-approx.h b/crt/shaders/crt-royale/src/crt-royale-bloom-approx.h index 17691564..92af7e73 100644 --- a/crt/shaders/crt-royale/src/crt-royale-bloom-approx.h +++ b/crt/shaders/crt-royale/src/crt-royale-bloom-approx.h @@ -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)); }