I use glDrawPixels to draw an array of pixels.
Image[i][j]=value; / red
I want blue pixels and white pixels. The blue ones shall have values of 8bit (0…255). But I am confused. When I set green “plane” to 255 and/or red “plane” to 255, I get strange colors. When I put red and green plane to 0, I get blue pixels (different brightness as I want) on BLACK pixels. But I want them on WHITE pixels.
How does CONTROLLED RGB mixing with glDrawPixels work?? I´d appreciate your help!!