Sign in to follow this  

Tangents flipped and mirrored

Recommended Posts

I need to calculate tangents for a mesh with adjacent faces having flipped AND mirrored UVs (or rotated 180 deg). So far I've only dealt with splitting vertices where face UVs have different winding order, which is very simple. I'm using Eric's method for tangents. I've tried splitting vertices from faces with considerably different tangents and bitangents but this proved surprisingly messy and unreliable. I haven't had any problems with badly behaved tangents besides this case of 180 deg rotation but it makes sense that any case of discontinuous tangents should be handled. Are there any standard or ideal methods to detect and repair these conditions?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this