moved vertex attribute init to GL2Painter from the Shader class
making way for static render array