Edit Mesh: Make "fresnel effect" not transparent but mix between 2 colors
authorClément Foucault <foucault.clem@gmail.com>
Mon, 10 Dec 2018 17:30:37 +0000 (18:30 +0100)
committerClément Foucault <foucault.clem@gmail.com>
Mon, 10 Dec 2018 18:02:17 +0000 (19:02 +0100)
commit8e37eb10a1899dc6cf54b68880bba6fa5812c93f
tree1823cf70cb878522f06d29ec1d265f879a205865
parent834bf357c8d4e2c6fdaa8c0004d5e0921222c1c0
Edit Mesh: Make "fresnel effect" not transparent but mix between 2 colors

Alpha blending is causing too many issues.
Revert back to something simpler.
source/blender/draw/intern/draw_common.c
source/blender/draw/intern/draw_common.h
source/blender/draw/modes/edit_mesh_mode.c
source/blender/draw/modes/shaders/common_globals_lib.glsl
source/blender/draw/modes/shaders/edit_mesh_overlay_frag.glsl
source/blender/draw/modes/shaders/edit_mesh_overlay_points_vert.glsl