Closed
Description
I noticed that normals are not transformed correctly when scaled non-uniformly:
Example (a sphere stretched along one axis) with incorrect normals:
I used this as a quick fix, but computing the inverse in the shader isn't a great idea:
HackerFoo@a711633
The proper fix would pass the precomputed transposed inverse into the shader.