GL_TRIANGLE_STRIP to GL_PATCHES (as input of tesselator control shader)
Is there a fast way to call glDrawElements with GL_PATCHES while providing a 'triangle strip' list of indices ?
Right now I have to convert my triangle strip to triangles list because there is now way to tell the OpenGL Tesselator Control shader that my drawElements call is triangle strip list and not a triangle list.
- layout(vertices=3) out;
- layout(triangles, fractional_odd_spacing, ccw) in;
- glPatchParameteri( GL_PATCH_VERTICES, 3);
- glDrawElements(GL_PATCHES, ...) with indices as an existing triangle stripped object.