This issue is due to how the pixels array is composited into the offscreen buffer when using multisampling. If you initialize your pg object w/out smooth, then the transparency will be ok. Just committed the fix to the repo, so the next release won't have this problem. For the time being, a workaround is to call pg.background(0, 0) right after pg.beginDraw() (or use pg with noSmooth).
↧