Toon Shading with forward render issue

I’m trying to use a toon shader post process material with the forward Renderer for VR and I can’t seem to separate the background from the foreground objects properly. I either get my lines to work on the inner geometry and lose the actual outline, or I get my outline back but it creates black rings on the Environment sphere. I’m using custom depth on all the foreground geo and no matter what I try I can’t keep my outlines without having these weird black rings show up.

Your shader is drawing lines on the normals of the Skybox Sphere. You need to use a sphere mask inside of your PP material to stop drawing lines after a certain distance.