Add support for per-warp materials.