This reverts commit 148fffb0f2.
148fffb0f2
OpenGL_vertex: * bufferize a duplicate calcul * Factorize vertexes
Pass drawtype and material type to shaders. Move shaders generation to startup only. Allow assign shaders per tile. Initial code to support water surface shader.