It often helps to render particle sprites as sphere. One it helps to reduces the polygonization which would otherwise be needed and second it too simple to achieve. So without any delay lets see how to put it up in OpenGL3.3.
Geometry setup:
We store positions of 9 vertices in the global scope as follows.
const int TOTAL= 9;
GLfloat...
Geometry setup:
We store positions of 9 vertices in the global scope as follows.
const int TOTAL= 9;
GLfloat...
Create a custom theme