Having Trouble with setting up Depth+Normal Sobel Edge PP

bit new to using unreal so sorry if I get confused easily
I’m trying to set up a cartoonish post process effect, and I got cel shading to work fine, but I’m having some trouble getting a sobel edge effect that I want.
I can get depth-based outlines to work on most objects, but I want to set it up so that I can use normals or something else to get edges based on material or geometry.

the asset I’m using for postprocessing the outlines I was given by someone online, and I’ve edited it a bit so that the outlines look the way I want, but I can’t figure out how to get the exact effect I want