Wireframe: Refactor to use GL_LINES instead of triangles with alpha blend
authorClément Foucault <foucault.clem@gmail.com>
Tue, 12 Feb 2019 22:22:36 +0000 (23:22 +0100)
committerClément Foucault <foucault.clem@gmail.com>
Mon, 18 Feb 2019 13:17:57 +0000 (14:17 +0100)
commite49d9555418d571f0585bf9a33aed90008e72e2c
treea046b2f2e0431e3939fcaace23c6b122ccccd96a
parent253ff57617a90537b334449ad992c7ef13f997ea
Wireframe: Refactor to use GL_LINES instead of triangles with alpha blend

This gets rid of the progressive fading of the edges as it does not work
with depth perception (sorting problem with alpha blending).
source/blender/draw/intern/draw_cache_impl_mesh.c
source/blender/draw/modes/overlay_mode.c
source/blender/draw/modes/shaders/overlay_face_wireframe_frag.glsl
source/blender/draw/modes/shaders/overlay_face_wireframe_vert.glsl