Edit Mesh: Fix interpolation of gradient on edit edges

This fix some issue with the AA on edit mesh edges.
This commit is contained in:
2019-03-25 22:47:36 +01:00
parent 3aeb44cd79
commit 51f8e51d78
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ uniform float edgeScale;
flat in vec4 finalColorOuter_f;
in vec4 finalColor_f;
in float edgeCoord_f;
noperspective in float edgeCoord_f;
out vec4 FragColor;

View File

@@ -12,7 +12,7 @@ in int selectOveride[2];
flat out vec4 finalColorOuter_f;
out vec4 finalColor_f;
out float edgeCoord_f;
noperspective out float edgeCoord_f;
void do_vertex(const int i, vec4 pos, float coord, vec2 offset)
{