You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If multiple texture coordinates points to the exact same point the cotangentFrame function returns an invalid matrix.
This is because duv1 and duv2 will be zero vectors and will lead to a division by zero at this line:
In default texture mapping of meshes, the case where vertices points to the same texture coordinate is quite common.
Should not be cotangentFrame robust enough to handle these cases too?
The text was updated successfully, but these errors were encountered:
If multiple texture coordinates points to the exact same point the
cotangentFrame
function returns an invalid matrix.This is because duv1 and duv2 will be zero vectors and will lead to a division by zero at this line:
glsl-perturb-normal/cotangent-frame.glsl
Line 16 in 1f8ec7f
In default texture mapping of meshes, the case where vertices points to the same texture coordinate is quite common.
Should not be
cotangentFrame
robust enough to handle these cases too?The text was updated successfully, but these errors were encountered: