Can't see shape within another transparent shape
in
Programming Questions
•
6 months ago
Hey all
- size(640, 360, P3D);
background(0);
lights();
blendMode(ADD);
noStroke();
pushMatrix();
translate(130, height/2, 0);
rotateY(1.25);
rotateX(-0.4);
fill(255,255,255,100);
box(100);
fill(255,0,0,255);
sphere(50);
popMatrix();
1