Blender Git Commit Log

Git Commits -> Revision 31c7732

Revision 31c7732 by Jeroen Bakker (master)
December 5, 2019, 11:15 (GMT)
Fix T72154: Background Camera Images

The Camera Background Images uses a alpha under blending. For alpha
under blending to work correctly the framebuffer containing the result
of the render engine needs to be active
(`DefaultFramebufferList.default_fb`) and the source blend color needs
to be premultiplied with alpha.

Due to recent refactoring this wasn't the case and it seemed that the
background image was drawn in front of the scene. This patch sets the
correct state so it seems to be drawn behind the scene.

Reviewed By: fclem

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

Commit Details:

Full Hash: 31c77326c9dbfc029df969ec4d85a0faccb91b10
Parent Commit: e2806b7
Lines Changed: +14, -3

1 Modified Path:

/source/blender/draw/engines/overlay/overlay_image.c (+14, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021