Writing hardware skinning for my game and need to animate normals too. From this article I learned that usually to transform normals you need something like this:
transformed_normal = transpose(inverse(bone[i])) * normal;
I can't pass second set of precalculated transpose(inverse(bones)) to shader via uniforms because I don't have enough uniforms for that. So I have to calculate this transpose(inverse(bone[i])) in vertex shader (again and again for every one of thousands vertices), isn't it? Is there some faster way to do this? Some cheap and dirty approximation of this operation?
Edit: Found this cool solution https://stackoverflow.com/a/46518010/9173149