Page MenuHome

WIP: Draw Manager Compositing Alpha Under

Authored by Jeroen Bakker (jbakker) on Jun 21 2019, 10:50 AM.



This is the diff that was used to test a better alpha under compositing. It does not work as currently the draw engines do not keep the actual alpha values.

Related to T65988: When rendering in viewport mode the draw engines do not pass correct Alpha values.

Diff Detail

rB Blender

Event Timeline

Jeroen Bakker (jbakker) planned changes to this revision.Jun 21 2019, 10:50 AM
Jeroen Bakker (jbakker) created this revision.

Does this really need another framebuffer? I would expect it's possible to draw alpha under without that kind of memory or performance overhead, by using different blend modes.

There is DRW_STATE_BLEND_ALPHA_UNDER_PREMUL for that purpose but we can add a non premul if you need.

Has been addressed by other tasks