View Full Version : 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.
01-02-2002, 03:23 PM
Well, here's some advanced code for drawing a background gradient:
drawVertex2d( 1.f, -1.f);
drawVertex2d( 1.f, 1.f);
(yes, that was pseudocode.. please don't try to compile it)
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.