Blender Git Loki

Git Commits -> Revision b17cca6

Revision b17cca6 by Jeroen Bakker (master)
September 22, 2020, 11:52 (GMT)
Fix T81026: Image Editor: Alpha (like Bloom) not showing properly

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.

Reviewed By: Brecht van Lommel

Differential Revision: https://developer.blender.org/D8978

Commit Details:

Full Hash: b17cca6966dd06be5fc66a5c1ece79bbfe6b39b7
Parent Commit: 085329f
Lines Changed: +21, -10

3 Modified Paths:

/source/blender/blenkernel/BKE_image.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/image_gpu.c (+19, -8) (Diff)
/source/blender/draw/engines/image/image_engine.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021