Skip to content

Commit

Permalink
Fix typo causing tangents to be wrong if using multiple bones per vertex
Browse files Browse the repository at this point in the history
  • Loading branch information
darksylinc committed Dec 31, 2024
1 parent b6f12ea commit 259f355
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
worldNorm += mul( inputNormal, normalAdjMat ) * midf_c( inVs_blendWeights[@n] );
@end
@property( normal_map )
worldNorm += mul( inputTangent, normalAdjMat ) * midf_c( inVs_blendWeights[@n] );
worldTang += mul( inputTangent, normalAdjMat ) * midf_c( inVs_blendWeights[@n] );
@end
@end

Expand Down

0 comments on commit 259f355

Please sign in to comment.