PDA

View Full Version : Gradient Background with OpenGL



sushantk
10-25-2000, 01:06 AM
Hi,
Has anybody tried drawing the background of a view with gradient color. Could you please tell me the trick involved in it?

Regards
Sushant

Bob
10-25-2000, 02:29 AM
One large quad that covers the whole window will do the work. Not as fast as a glClear, but this is, as far as I know, the fastes way to do it.