Support material_ids along with texture_id for materials