Mesh update now correctly corelates shaders with polygons.