Is there a way to calculate the tangents of a model in the material editor?

I thought of that but because I use the same texture on all the leaf planes I have to overlap the UV’s in the first channel. If I flatten all the planes and put them in the second UV channel they don’t line up.