4 layout(line_strip, max_vertices = 5) out;
8 gl_Position = gl_in[0].gl_Position;
10 gl_Position = vec4(gl_in[0].gl_Position.x, gl_in[1].gl_Position.y, 0.0, 1.0);
12 gl_Position = gl_in[1].gl_Position;
14 gl_Position = vec4(gl_in[1].gl_Position.x, gl_in[0].gl_Position.y, 0.0, 1.0);
16 gl_Position = gl_in[0].gl_Position;