Blender Git Commit Log
Git Commits -> Revision 3685347
Revision 3685347 by Clément Foucault (master) February 4, 2020, 14:20 (GMT) |
Selection: Add conservative rasterization to select really small objects The conservative depth shader is ~4.5x slower than the normal one as it uses geometry shader and fragment shader discard. This patch also includes a hack to also fix the view parallel planar geometry and the really small wire objects. For some reason, the conservative raster fix does not work with normal selection but does with box select. This is a fix for T63356. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D6714 |
Commit Details:
Full Hash: 3685347b417259f08060d914b4447d0190a5f57e
Parent Commit: cd0a028
Lines Changed: +129, -24
3 Added Paths:
/source/blender/draw/engines/basic/shaders/conservative_depth_frag.glsl (+5, -0) (View)
/source/blender/draw/engines/basic/shaders/conservative_depth_geom.glsl (+59, -0) (View)
/source/blender/draw/engines/basic/shaders/conservative_depth_vert.glsl (+17, -0) (View)
/source/blender/draw/engines/basic/shaders/conservative_depth_geom.glsl (+59, -0) (View)
/source/blender/draw/engines/basic/shaders/conservative_depth_vert.glsl (+17, -0) (View)
5 Modified Paths:
/source/blender/draw/CMakeLists.txt (+4, -0) (Diff)
/source/blender/draw/engines/basic/basic_engine.c (+36, -22) (Diff)
/source/blender/draw/engines/basic/basic_engine.h (+0, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/wireframe_vert.glsl (+6, -0) (Diff)
/source/blender/draw/intern/draw_manager.c (+2, -1) (Diff)
/source/blender/draw/engines/basic/basic_engine.c (+36, -22) (Diff)
/source/blender/draw/engines/basic/basic_engine.h (+0, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/wireframe_vert.glsl (+6, -0) (Diff)
/source/blender/draw/intern/draw_manager.c (+2, -1) (Diff)