Blender Git Commit Log
Git Commits -> Revision b171e40
Revision b171e40 by Clément Foucault (greasepencil-object, greasepencil-refactor, temp-gpencil-eval) January 8, 2020, 13:57 (GMT) |
GPencil: Refactor: Fix outline depth mixing This uses a costly depth reprojection in the fragment shader. This might get optimized a bit in the future. Unfortunately it's the only way to get the same accurate depth as what the gpencil engine outputs. |
Commit Details:
Full Hash: b171e40d0c541d13ffd10cc833d13edb0190b292
Parent Commit: d9f0885
Lines Changed: +95, -5
4 Modified Paths:
/source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl (+2, -2) (Diff)
/source/blender/draw/engines/overlay/overlay_outline.c (+62, -2) (Diff)
/source/blender/draw/engines/overlay/overlay_shader.c (+2, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/outline_prepass_frag.glsl (+29, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_outline.c (+62, -2) (Diff)
/source/blender/draw/engines/overlay/overlay_shader.c (+2, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/outline_prepass_frag.glsl (+29, -0) (Diff)