Overlapping problem

Hi everyone,
I have a problem, I’m developing a configuration application in R3F for the fashion sector. The wish is to render two 3d objects like a jacket and a shirt however, the problem I can’t solve is mesh overlapping. I would like all the mesh of the shirt to fit under the jacket dynamically without resize or morph. Does anyone have any suggestions? I tried stencil masks and blending but couldn’t figure it out. Attached are two images for you to understand

The only reasonable way of solving this is by fixing the models.

(An unreasonable way of solving it is by having a hidden masking shapes / cylinders appended to the jacket model, which would define where underlying models are allowed to be shown- and then trimming the shirt using gkjohnson/three-bvh-csg.)

alpha map on a shirt should help