4 layout(triangle_strip, max_vertices = 4) out;
9 gl_Position = gl_in[0].gl_Position;
10 objcoords = vec2(-1.0, -1.0);
12 gl_Position = vec4(gl_in[0].gl_Position.x, gl_in[1].gl_Position.y, 0.0, 1.0);
13 objcoords = vec2(-1.0, 1.0);
15 gl_Position = vec4(gl_in[1].gl_Position.x, gl_in[0].gl_Position.y, 0.0, 1.0);
16 objcoords = vec2(1.0, -1.0);
18 gl_Position = gl_in[1].gl_Position;
19 objcoords = vec2(1.0, 1.0);