Better method for Outline?

I have replicated the Unreal’s version of doing an outline using a post processing material. However, I noticed that this method of outlining a mesh only works when part of mesh is facing the sky. If I would to face the ground the whole outlining would disappear. I don’t know what should I do to fix this or if there’s a better method to outline a mesh using post processing materials? Post Processing in UE4: Cel-Shading | Live Training | Unreal Engine Livestream - YouTube (This is the video I used as reference)

Check your settings. The method shown in the video does produce the outline everywhere. It’s just your settings ignore depth difference below a certain value (i.e. depth change between ball and floor is not large enough to produce outline)