I don’t have personal experience in this, but it looks like HE_Mesh GUI had an occlusion shader – there might be some logic in that that could be useful?
Search results for 'occlu' - Processing Foundation*
HE_Mesh GUI update - #6 by struct
Might also consider asking other Axidraw users…?