Blender Git Loki
Git Commits -> Revision ce80e00
Revision ce80e00 by Clément Foucault (master) June 16, 2018, 13:49 (GMT) |
Edit Mesh: Simplify the overlay shader. Remove all the clip cases and just pass the vertices screen position to the fragment shader. This does put a bit more pressure on the fragment shader but it seems to be faster than before. And it simplify the code a lot. It seems to fix some long standing issue on some intel GPU. |
Commit Details:
Full Hash: ce80e00a7c68fb1c77232f94f620fcf6e7c13107
Parent Commit: d45d094
Lines Changed: +104, -295
4 Modified Paths:
/source/blender/draw/modes/shaders/edit_mesh_overlay_frag.glsl (+15, -79) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_geom_edge.glsl (+5, -35) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_geom_tri.glsl (+81, -169) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_loosevert_vert.glsl (+3, -12) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_geom_edge.glsl (+5, -35) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_geom_tri.glsl (+81, -169) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_loosevert_vert.glsl (+3, -12) (Diff)