Blender Git Loki
Git Commits -> Revision 6d3eb85
Revision 6d3eb85 by Clément Foucault (master) December 4, 2019, 21:32 (GMT) |
Overlay Engine: Simplify outline rendering by using the antialiasing pass This use the overlay AA pass to antialias the selection outlines. This also do all search and expand in one pass and reduce the computation time and memory used (2 x 32bit/pixel buffer less). Note that the aliasing is a bit worse than the old FXAA that we used to have. |
Commit Details:
Full Hash: 6d3eb85f66ae93d9d4859ef3264f1a1b2ae4fa36
Parent Commit: e203f69
Lines Changed: +346, -278
2 Deleted Paths:
/source/blender/draw/engines/overlay/shaders/outline_expand_frag.glsl (+0, -51)
/source/blender/draw/engines/overlay/shaders/outline_resolve_frag.glsl (+0, -21)
/source/blender/draw/engines/overlay/shaders/outline_resolve_frag.glsl (+0, -21)
8 Modified Paths:
/source/blender/draw/CMakeLists.txt (+0, -2) (Diff)
/source/blender/draw/engines/overlay/overlay_antialiasing.c (+0, -6) (Diff)
/source/blender/draw/engines/overlay/overlay_engine.c (+13, -22) (Diff)
/source/blender/draw/engines/overlay/overlay_outline.c (+24, -60) (Diff)
/source/blender/draw/engines/overlay/overlay_private.h (+2, -12) (Diff)
/source/blender/draw/engines/overlay/overlay_shader.c (+10, -48) (Diff)
/source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl (+3, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/outline_detect_frag.glsl (+294, -55) (Diff)
/source/blender/draw/engines/overlay/overlay_antialiasing.c (+0, -6) (Diff)
/source/blender/draw/engines/overlay/overlay_engine.c (+13, -22) (Diff)
/source/blender/draw/engines/overlay/overlay_outline.c (+24, -60) (Diff)
/source/blender/draw/engines/overlay/overlay_private.h (+2, -12) (Diff)
/source/blender/draw/engines/overlay/overlay_shader.c (+10, -48) (Diff)
/source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl (+3, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/outline_detect_frag.glsl (+294, -55) (Diff)