Creating a mesh with multiple materials