Workbench: Support transparency from object color alpha
authorClément Foucault <foucault.clem@gmail.com>
Tue, 29 Jan 2019 18:56:22 +0000 (19:56 +0100)
committerClément Foucault <foucault.clem@gmail.com>
Tue, 29 Jan 2019 19:34:11 +0000 (20:34 +0100)
commit2cc69a5e2023ddc5a6a6ebed16a5d9ea3af2eaef
tree28323b34ef1cddd29c1da2a1d408eaa1515971f5
parentea3f5af962140588f7c464464220b45b638ef46b
Workbench: Support transparency from object color alpha

Support the alpha channel use of the object color in solid mode.

The Transparency effect is still using the Xray algorithm and not
true Alpha blending.
source/blender/draw/engines/workbench/workbench_deferred.c
source/blender/draw/engines/workbench/workbench_private.h