Files
qad/qglview/shaders/test.geom

14 lines
215 B
GLSL

#version 300 core
layout(triangles, invocations = 1) in;
//in vec3 normal[];
void main() {
for (int i = 0; i < gl_in.length(); i++ ) {
gl_Position = gl_in[i].gl_Position;
EmitVertex();
}
EndPrimitive();
}