Blender Git Commit Log
Git Commits -> Revision 1552dd3
Revision 1552dd3 by Clément Foucault (tmp-overlay-engine) November 22, 2019, 16:39 (GMT) |
Overlay Mode: Fix infront depth sorting This is an improvement to 2.81. In front objects and extras are correctly depth sorted. The approach is to share an in-front depth buffer between all engines so that workbench fill it with the infront objects depth. Then the overlay engine can use it again to draw in front objects overlays correctly occluded by the other "in front" objects surfaces. |
Commit Details:
Full Hash: 1552dd3f16bda362d7c6c18294f35c210180f3f2
Parent Commit: 7c17e76
Lines Changed: +56, -43
10 Modified Paths:
/source/blender/draw/DRW_engine.h (+2, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_armature.c (+5, -1) (Diff)
/source/blender/draw/engines/overlay/overlay_edit_mesh.c (+4, -13) (Diff)
/source/blender/draw/engines/overlay/overlay_engine.c (+21, -2) (Diff)
/source/blender/draw/engines/overlay/overlay_paint.c (+1, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_private.h (+1, -2) (Diff)
/source/blender/draw/engines/overlay/overlay_wireframe.c (+0, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+13, -24) (Diff)
/source/blender/draw/intern/DRW_render.h (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_viewport.c (+7, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_armature.c (+5, -1) (Diff)
/source/blender/draw/engines/overlay/overlay_edit_mesh.c (+4, -13) (Diff)
/source/blender/draw/engines/overlay/overlay_engine.c (+21, -2) (Diff)
/source/blender/draw/engines/overlay/overlay_paint.c (+1, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_private.h (+1, -2) (Diff)
/source/blender/draw/engines/overlay/overlay_wireframe.c (+0, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+13, -24) (Diff)
/source/blender/draw/intern/DRW_render.h (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_viewport.c (+7, -0) (Diff)