I need a little help in Processing color theory and/or overlaying graphics!
In my sketch I have a half transparent text on a separat PGraphics. When I overlay this text onto an other
PGraphics with an opaque rectangle and finally overlay this PGraphics onto the main canvas, the background of the canvas shines through the text.
What I expected was that the half transparent text will be merged with the rectangle color and will get opaque and not that the opaque rectangle gets transparent with the overlayed text. It's as the text works like an alpha mask, but I don't want that.
What do I miss here? Or whats the right way to archive my expected result?
Thank you for your time!
My specs: Windows7 64bit, NVIDIA GeForce 560M, Processing 2.0b6
package spheretest;
import processing.core.PApplet;
import processing.core.PGraphics;
public class Main extends PApplet {
/**
*
*/
private static final long serialVersionUID = 3655653701051264925L;