Help with a translucent shield-like material


I’m using a simple shield-like material that uses DepthFade for the outline edge effect (like on the floor or the object on the left in the photo)… The user will be inside of the volume. The problem I’m trying to fix is the cube is fully inside and has an outline. It there a way to ignore the cube or any other fully-inside objects so they don’t have this outline? Or perhaps another method of having edges on overlapping objects without using the DepthFade node?

Thanks for any help