materialid_map blender script, that creates material indexes and adds nodes to all materials to export colorfull MAT ID map Blender 2.82++ this script uses Blender2.82 feature called AOV's so you should use it with 2.82 or greater versions