How can you do this?

Hi, if I had a 2D orthographic scene with a random (at runtime) jagged line for the horizon. How could I create a different background above and bellow the line?

Masking could help you out.
Checkout this asset on the Asset Store: https://www.assetstore.unity3d.com/en/#!/content/27642