hide mesh parts using mask texture
turns out i needed to use the alpha of the main texture (not the mask texture) to the alpha of the principled BSDF. I think the suggestion from @blunder to use alpha mix also helped (but i had to use alpha clip)