Blender Git Commit Log
Git Commits -> Revision a710af2
Revision a710af2 by Clément Foucault (master) February 7, 2019, 16:30 (GMT) |
Edit Mesh: Rework new implementation and use geometry shader to draw lines This make it (theoriticaly) compatible with all supported hardware with consistent results. Also we now draw the lines with analytic anti-aliasing instead of relying on MSAA (which offers less benefits in our case). The remaining aliasing comes from edges cut in half by the mesh which is not rendered with MSAA. Hopefully this is not too much distracting and only happen if the face is almost parallel to the view. |
Commit Details:
Full Hash: a710af2b2571ce0564ee11cbcf5ebb35e6b09a3c
Parent Commit: 9b774df
Lines Changed: +112, -152
5 Modified Paths:
/source/blender/draw/modes/edit_mesh_mode.c (+44, -64) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_common_lib.glsl (+1, -1) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_frag.glsl (+27, -14) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_geom.glsl (+25, -36) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_vert.glsl (+15, -37) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_common_lib.glsl (+1, -1) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_frag.glsl (+27, -14) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_geom.glsl (+25, -36) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_vert.glsl (+15, -37) (Diff)