Blender Git Loki
Git Commits -> Revision 981c49f
Revision 981c49f by Clément Foucault (greasepencil-object, greasepencil-refactor, temp-gpencil-eval) January 7, 2020, 14:30 (GMT) |
GPencil: Refactor: Add outline overlay This does not work correctly on square & dot strokes. Also another issue is the depth blending. We need to fix the depth of the outline geometry to match the 2D projection we do in the gpencil engine. |
Commit Details:
Full Hash: 981c49ff4c250625ca688a1b5fff788b2143e0db
Parent Commit: fb51417
Lines Changed: +143, -5
6 Modified Paths:
/source/blender/draw/engines/overlay/overlay_engine.c (+6, -2) (Diff)
/source/blender/draw/engines/overlay/overlay_outline.c (+92, -1) (Diff)
/source/blender/draw/engines/overlay/overlay_private.h (+3, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_shader.c (+28, -0) (Diff)
/source/blender/draw/engines/overlay/shaders/outline_prepass_frag.glsl (+6, -0) (Diff)
/source/blender/draw/engines/overlay/shaders/outline_prepass_vert.glsl (+8, -2) (Diff)
/source/blender/draw/engines/overlay/overlay_outline.c (+92, -1) (Diff)
/source/blender/draw/engines/overlay/overlay_private.h (+3, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_shader.c (+28, -0) (Diff)
/source/blender/draw/engines/overlay/shaders/outline_prepass_frag.glsl (+6, -0) (Diff)
/source/blender/draw/engines/overlay/shaders/outline_prepass_vert.glsl (+8, -2) (Diff)