View Full Version : glClearColor with Gradient

01-02-2002, 02:59 PM
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.

01-02-2002, 03:23 PM
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.

Questions Burner
01-04-2002, 08:36 PM
Or a quad with smooth shading enabled and glColor two different color for four vertex.