Added flat shading option