Use opengl based texture generation