layout (triangles) in;. tells OpenGL that the input primitive is a triangle (made up of 3 vertices). layout(triangle_strip, max_vertices=3) out ...
確定! 回上一頁