Depth Fade with Two Intersecting Translucent Objects


This is the result I am trying to achieve except also showing the intersecting line of the two spheres.

This is what I have now.

I do not know how or if you can get a depth fade with intersecting translucent objects. I also have no clue where to start in combining/subtrsacting the depth fade intersect of he two spheres with the ground.

I know I could use a sphere mask to mask portions of the spheres, but then I would need to know how many and the location of intersecting sphere, which I will not.

I do not even know if what I am trying to do is even possible? I was thinking maybe some custom HLSL code like metaballs or something? I am trying to accomplish this entirly in the shader and not using blueprints…