Depth Sorting and PShape

Maybe ideas here?

Update: I wonder if the faces are single sided and they should be made double sided? And if that’s the case, can it be done by tweaking the shader?