draw vertex array with shaders