• Advertisement
Sign in to follow this  

Tangent Space Matrix

This topic is 4931 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

how to calculate tangent matrix if you have only 1 vertex position, 1 light position and vertex normal???

Share this post


Link to post
Share on other sites
Advertisement
For one vertex and its normal it's easy task - just find one arbitrary vector perpendicular to normal(tangent) and then do a cross product to find binormal.

But in real world case you will neeed texture coordinates, because tangent vector says about the axis in which u is changing and v is not, and binormal says about the axis in which v is changing and u is not.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement