Outliner material doesn't work as intented on top of opacity material

Hi everyone, i have a outliner material. If i use it on top of translucent materials(that’s what i am planning to do :smiley: ) It doesn’t work as intented. It makes outline all the model. It turns completly white.