Split Screen where Waterplane intersects with Camera

Hi!

As mentioned here http://forum.unity3d.com/threads/39292-Request-Special-Underwater-Blurring-Script, I have two cameras in my scene, one for the underwater-effect and one for the over-water game. I have a 3rd person controller, and if I swim or wade in the water the camera is able to rotate around the player and dive into it. Therefore I want the screen to split on the line, where the water intersects with the camera. Is there a easy way to find the point of the intersection of the water and the camera and set that as the split value?

Thank you!

Sounds like you just need the compare the camera’s y position and the water plane’s y position.