1
\$\begingroup\$

sometimes it is -1, sometimes is +1. Do I need it for the rendering of the normal maps?

\$\endgroup\$

1 Answer 1

0
\$\begingroup\$

Looks like the tangent handedness that's needed for proper normal mapping. It can be used for calculating the bitangent for TBN matrix. Example in GLSL: vec3 bitangent = normalize( normalMatrix * (cross( aNormal, aTangent.xyz ) * aTangent.w) );

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .