Getting depth. (sampling first and 2nd object)

Hey guys.
I want to do a water like effect where i need to sample XYZ of the top layer (ie water) and the next layer (the sand floor). And then get the distance between the 2 to get a volume “depth” map.

Is there a way to do this without going into Unity Pro teritory?

I eventually found that you can use multiple passes with Culling on and off and combine them using the BlendOp.
This is a bit problematic though as the colors get clamped and you only can do very limited operations on it (Add, Substract)