Added support for per-offset material assignments in BufferGeometry.