Make something invisible where it's masked with post process.

Hello everyone,

I’m making a toon post process material but the outlines disapear when the character looks in the direction of the skybox (it’s too far) so i need a smaller sphere to keep the outer lines visible.
The problem is that I need to hide the masked parts of the sphere (here in red) but i don’t know how to do this in post process.

Can anybody help me please ? :slight_smile: