OpenGL: Disable texture colors?

Posted by Newbie on Stack Overflow See other posts from Stack Overflow or by Newbie
Published on 2010-03-22T14:29:52Z Indexed on 2010/03/22 14:31 UTC
Read the original article Hit count: 284

Filed under:
|
|

Is it possible to disable texture colors, and use only white as the color? It would still read the texture, so i cant use glDisable(GL_TEXTURE_2D) because i want to render the alpha channels too.

All i can think of now is to make new texture where all color data is white, remaining alpha as it is.

I need to do this without shaders, so is this even possible?

© Stack Overflow or respective owner

Related posts about opengl

Related posts about c++