Factorise cubevbo/vao in shader.cpp