Page MenuHome

Fix T81026: Image Editor: Alpha (like Bloom) not showing properly
ClosedPublic

Authored by Jeroen Bakker (jbakker) on Sep 22 2020, 9:59 AM.

Details

Summary

With the new image editor drawing there were was some mutual exclusive
functionality. When rendering the alpha was shown correctly or the pure
emissive colors were shown correctly, but never both. The cause of this
is that the image_gpu did not used the correct alpha mode when generating
gpu textures for non-images (render results, compositors viewer)

The implementation always checked the alpha_mode. Alpha mode is an
attribute for images, but aren't set for non images. This patch adds
a more detailed check to ensure that the gpu texture is premultiplied.

The issue has been tested using several bug report files and production
files.

Diff Detail

Repository
rB Blender
Branch
T81026 (branched from master)
Build Status
Buildable 10350
Build 10350: arc lint + arc unit