X and Y Background Repeating

What if there was a feature where you could decide if you wanted to have the background repeat on, say the X axis, but not the Y axis, to create an effect where if the camera went upwards, it would just be a sky in the background, but if it went left or right on the ground, it would be backdrops, (mountains, hills, etc)