Eevee: Transparency: Add object center Z sorting.
authorClément Foucault <foucault.clem@gmail.com>
Mon, 10 Jul 2017 12:45:19 +0000 (14:45 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Tue, 11 Jul 2017 10:39:35 +0000 (12:39 +0200)
commita098d02718c64ed34838914bac19aebba76c5e4e
treece0603c4d14172f5c7046bdc98914780f269635b
parentad7458d00c2833cfcc99dc54280c52b2e5a17cf2
Eevee: Transparency: Add object center Z sorting.

Better algo should take bounding box center, but it's not referenced yet in the draw call and cannot be tweaked by user.
source/blender/draw/engines/eevee/eevee_engine.c
source/blender/draw/intern/DRW_render.h
source/blender/draw/intern/draw_manager.c