Drawing transparency in 3D is very complicated and not something that either p5 or Processing is likely to support. The only correct way to implement it is to render all of the opaque surfaces first and then to render every transparent triangle ordered from back to front with respect to the current camera orientation.
I give a slightly more detailed answer here: https://discourse.processing.org/t/draw-order-based-transparency-issue/22675/6