glClearColor with Gradient

Hello, I would like to know if it is possible to have a background with a color gradient instead of a single color as with glClearColor.

You will have to draw your own quad with either a gradient texture or with a gouraud gradient (or via something like a pixel shader or texture shader). I’d just as soon use simple vertex colors with smooth shading enabled.

Or a quad with smooth shading enabled and glColor two different color for four vertex.