I need to disable all options that could manipulate the pixel color. What kind of options is this?
/Erikk
I need to disable all options that could manipulate the pixel color. What kind of options is this?
/Erikk
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