Multi materials in custom depth

I didn’t want to do it but I just changed the weight of materials in settings structure of the Post Process, every time I call for a change in outline.