diff options
| author | 2023-03-11 23:21:00 +0100 | |
|---|---|---|
| committer | 2023-03-12 09:21:00 +1100 | |
| commit | 671434f7dac6a38a54a41417a994b7b8f47f6b49 (patch) | |
| tree | c5fe1c61ec7e76650baf37ebcc243415aa16537b /hlsl | |
| parent | 2c226a3b9fe794fa66b32ba09e6dc34c538118de (diff) | |
HLSL: bloom.fx: Return an alpha of 1 rather than texel alpha (fixes GitHub #10977). (#10983) [Ryan Holtz]
Diffstat (limited to 'hlsl')
| -rw-r--r-- | hlsl/bloom.fx | 2 |
1 files changed, 1 insertions, 1 deletions
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); } //----------------------------------------------------------------------------- |
