I'm trying to make a very simple OpenGL task, which is to move a rectangle (a jit.gl.gridshape) from side to side of my rendering space. The problem is that I can't make it very clean. Even if the framerate keeps around 60, the motion of the gridshape is jerky...
Anyone has an idea about how to optimize this?
After this is solved, I want to use it in a very more complex way, so I need this simple movement to be clean.
Thanks a lot!