From 29f797c771c3dc4b0460484f35cabdf77c4f376f Mon Sep 17 00:00:00 2001 From: Leonardo Zide Date: Sat, 20 Mar 2021 11:56:13 -0700 Subject: [PATCH] Hide conditional lines behind the points. --- resources/shaders/unlit_color_conditional_vs.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/shaders/unlit_color_conditional_vs.glsl b/resources/shaders/unlit_color_conditional_vs.glsl index 61d3f860..3fa318f9 100644 --- a/resources/shaders/unlit_color_conditional_vs.glsl +++ b/resources/shaders/unlit_color_conditional_vs.glsl @@ -28,5 +28,5 @@ void main() if (Cross1 * Cross2 >= 0.0) gl_Position = Position; else - gl_Position = vec4(2.0, 2.0, 2.0, 1.0); + gl_Position = vec4(p1.x, p1.y, 2.0, 1.0); }