The calculation of a normal transformation matrix requires a transpose for
mat3. Currently this can be worked around by doing:
var normMat = mat3.create();
mat4.toInverseMat3(mvMatrix, normMat);
normMat2 = mat3.toMat4(normMat);
mat4.transpose(normMat);
but this is just annoying. The transpose should be done on the mat3, not the
mat4.
Original issue reported on code.google.com by shoo...@gmail.com on 27 Feb 2011 at 10:23
Original issue reported on code.google.com by
shoo...@gmail.com
on 27 Feb 2011 at 10:23