I have a vector array of triangles which basically consist of a bunch of squares that need to be billboarded. Something that looks like
GLfloat vertexpositions[60 * 3];
// [x,y,z] * 6 for each square, and there are 10 squares
And after that, calling glDrawArray with the appropriate arguments to draw a total of 10 squares.
Is it possible to write a shader program that can separately billboard all of these polygons which exist on the same vertex array?