Multi materials in custom depth

I have two materials for outline for items and want to use both of them, but when I try to add the second material to the poss process the first material stops working, when I set the weight of the second material to 0 it works again.
Is there a way to have few materials in a poss process?

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.