Hi all,
I am experiencing a problem with the alpha of objects with some transparency on Processing 2.02 with P2D/P3D render modes. This code:
I am experiencing a problem with the alpha of objects with some transparency on Processing 2.02 with P2D/P3D render modes. This code:
- void setup() {
- size (500, 500);
- }
- void draw() {
- background(0);
- fill(255, 0, 0, 150);
- ellipse(300, 300, 250, 250);
- fill(80, 150);
- noStroke();
- rect(200, 200, 200, 200);
- }
Gives the following (expected) result:
If I use:
- size (500, 500, P2D);
Here's what happens (same with P3D):
I've also tried blendMode() with several options but nothing seem to affect the solid look of the shapes. Any clues/ideas? Is this a bug/issue? In Processing 2.01 everything worked as expected....
1