opengl, filter problem
in
Core Library Questions
•
2 years ago
i have a problem with this code, if i run it with P2D or P3D everything cool but when i test it with OPENGL the rectangle doesn't appear. could somebody please help?
import processing.opengl.*;
- import processing.opengl.*;
- void setup(){
- size(400,400,OPENGL);
- smooth();
- background(255);
- }
- void draw(){
- fill(100);
- ellipseMode(CENTER);
- ellipse(200,200,100,100);
- filter(BLUR, 6);
- fill(0);
- rect(300,300,60,60);
- noLoop();
- }
1