cycles orthographic render with gradient background
Orthographic camera means 0 degree angle, so, the camera can only show one pixel (the smallest unit) of the background. Compositor seems the way to go for your desired effect.