bevy
bevy copied to clipboard
Fix bloom alpha handling
Fixes #6634.
After some discussion, this probably needs further thought. I probably shouldn't be using the previous alpha when downsampling or upsampling, it should probably only be during the final step. And we might want to do some kind of max of the current and new alpha, so that bloom shows up in transparent areas. Copying the original alpha would always force those pixels to be transparent.
Closing as I am revamping bloom in a future PR.