This is really a general rather than OpenGL question I suppose, but I’m sure someone here can help me.
What I’m trying to do is blend colours in my application in the same way that real paints do. So, for example Blue(RGB=0,0,1) blends with Yellow(RGB=1,1,0) to make Green(RGB=0,1,0). At the moment the OpenGL blending that I’m using gives white(RGB=1,1,1) when blending blue and yellow.
Is there a blending mode in OpenGL that I can use to achieve ‘paint’ blending? Otherwise, does anyone know an algorithm for this so that I can do it the hard way?