glColor excluding a certain colour

Started by laginimaineb, May 27, 2007, 12:06:32

Previous topic - Next topic

laginimaineb

Hello, I was wondering whether it is possible to use glColor to taint a texture (as I do) but without it tainting certain colours (namely, white).

With thanks,
laginimaineb.

HangDude

I don't know of any way on how to do this with glColor only, but the task would be rather trivial using a fragment shader. You still need fragment shader support tough.

greets,
phil

laginimaineb

Thanks for your reply, the problem is most of my users probably don't support fragment shaders, too bad. Oh well, guess I'll have to keep thinking.

With Thanks,
laginimaineb.