3 layout(triangles_adjacency) in;
\r
4 layout(max_vertices = 30) out;
\r
5 layout(stream = 3, triangle_strip) out;
\r
21 color = fromV[0].color;
\r
22 //?? gl_ClipDistance[3] = gl_in[1].gl_ClipDistance[2];
\r
23 gl_Position = gl_in[0].gl_Position;
\r
24 gl_PointSize = gl_in[3].gl_PointSize;
\r
25 gl_PrimitiveID = gl_PrimitiveIDIn;
\r
30 color = 2 * fromV[0].color;
\r
31 gl_Position = 2.0 * gl_in[0].gl_Position;
\r
32 gl_PointSize = 2.0 * gl_in[3].gl_PointSize;
\r
33 gl_PrimitiveID = gl_PrimitiveIDIn + 1;
\r