From 671434f7dac6a38a54a41417a994b7b8f47f6b49 Mon Sep 17 00:00:00 2001 From: MooglyGuy Date: Sat, 11 Mar 2023 23:21:00 +0100 Subject: HLSL: bloom.fx: Return an alpha of 1 rather than texel alpha (fixes GitHub #10977). (#10983) [Ryan Holtz] --- hlsl/bloom.fx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hlsl/bloom.fx b/hlsl/bloom.fx index 330d441bb96..7b8443b4a0c 100644 --- a/hlsl/bloom.fx +++ b/hlsl/bloom.fx @@ -419,7 +419,7 @@ float4 ps_main(PS_INPUT Input) : COLOR blend = lerp(blend, texelH, Level8Weight * BloomScale); } - return float4(blend, texel.a); + return float4(blend, 1.0f); } //----------------------------------------------------------------------------- -- cgit v1.2.3