HLSL: bloom.fx: Return an alpha of 1 rather than texel alpha (fixes GitHub #10977). (#10983) [Ryan Holtz]

This commit is contained in:
MooglyGuy 2023-03-11 23:21:00 +01:00 committed by GitHub
parent 2c226a3b9f
commit 671434f7da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
//-----------------------------------------------------------------------------