add flat shading for extruded geometry