Added support for per-face materials for meshes.