added flat shading to mesh