What about this:
fog_color = (camera.y < water_plane.y);