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, 04: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.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.