SOLVED Calculating Tangent from Normal

Yes you can do all the work in the shader, but as you can see this requires a lot of math and will slow down the shader considerably.
You will have to decide for yourself which way is easier for you to support and use.

Sorry. I probably shouldn’t have done that. Trade off: GPU time vs. moving memory around (well and engineering time as well).

Ah right, ok, I think Ill pre-compute it instead of calculating it on the GPU.

Thanks guys, got it working.
I’ll definitely keep in mind doing the calculation on the GPU, but overall, I went with pre-computing it first.