I plan to draw simple quads and i was searching ways to generate vertices in the vertex shader.
I saw the use of gl_VertexID . But i cannot use this since i need to support OpenGL ES 2.0 as well, so i can't use gl_VertexID
Is there some other way to do this? i.e procedurally generate a simple quad in the shader?
I did it in the fragment shader. But i need texturing as well. So, i actually need vertices and texture coords generated in a simple way.
Please let me know if there are some ways this can be done.