View Full Version : Removing color
I've created a program to view objects, and everything is working fine except the color. Solid objects that i need to use color with, but when i get to and object with texture on it, it is still covered with the color instead of the texture. Is there any way to remove the color value i've set with glColor3f?
thanx ahead of time
i dont think so u can set it to white though.
btw is texturing enabled also try using GL_DECAL or GL_REPLACE in the glTexEnvf(GL_TEXTURE_ENV,..) function
11-18-2000, 02:01 PM
I concur with Zed. You have two choices: a) use a texture mode that doesn't blend the object's color with the texture, or b) set your color to white.
Using GL_DECAL or GL_REPLACE will give the best performance if you never intend to blend a texture with a polygon's base color.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.