Skin shader [SOLVED]
I have successfully imported a collada document, everything works, I have implemented the skining animations also, but every vertex is computed on CPU, and I try make a GPU version also. However, I am stuck writing the skin shader, because seems I have to take in account more matrices:
skin->m_bindshape * skin->m_skinjoins[jointindex].bindposeinverse * n->m_trans
Thanks for reading and eventually answers.
Ok, I solved the problem, I just precompute them for shader usage.