View Full Version : disable manipulation of color ?
04-19-2001, 07:48 AM
I need to disable all options that could manipulate the pixel color. What kind of options is this?
04-19-2001, 10:19 AM
I'm not quite sure what you mean... pretty much everything in OpenGL manipulates pixel color in one way or another. If it didn't, it wouldn't be much use as a graphics API.
Even drawing a simple app that draws a triangle is going to manipulate the pixel color at the location where you draw the triangle. Hell... even a glClear(GL_COLOR_BUFFER_BIT) is going to manipulate the pixels by setting them to the current clear color.
deiussum is correc, perhaps you wanna use someit like glTexEnvi( GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE );
replace means the pixels colour will ignore the previous pixels colour
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.