In P3D mode images not transparent when textSize > 35 is used


I noticed that when using a font size larger than 35 in P3D mode images stop being transparent. Is this a known bug? Does anyone know a workaround for this? I’m running Processing 3.4 on Windows 10.

PImage bg, fg;
PFont font;

void setup() {
  size(512, 512, P3D);
  bg = loadImage("bg.jpg"); //raster image
  fg = loadImage("duck.png"); //transparent duck image
  font = loadFont("Arial-Black-36.vlw");

void draw() {
  image(bg, 0, 0);
  image(fg, 0, 0);

  text("In P3D mode images are NOT transparent\nwhen a textSize > 35 is used.",20,40);  

P3D-fontsize-35 P3D-fontsize-36

@companje – belatedly: were you able to resolve this issue? If not it sounds like you should check issues and consider filing a bug report: