uhm... very interesting test, is possible that my script don't compute the true Binormal and Tangent vector. The test that i made is based for Building version, the Mesh/Cas/engine script utilize the same function:
In the geometry_class.ms script there are the function:
Spoiler Alert, click show to read:
The Normal Vector can't be differenct, the Binormal is the cross product of norm and tang so can't be different, try to change the sign of tangent
tang[i]+= tangent * (-1)
tang[j]+= tangent * (-1)
tang[k]+= tangent * (-1)
In fact, about these calculation i had a lot of issue (shadow, ecc...) in the building, i think i must change some value
About "Per vertex TBN" matrix, see also:
http://www.gamedev.net/topic/464820-...x-curiosities/
http://jerome.jouvie.free.fr/shaders/Shaders.php