Edit: Nope. Wasn't that. No idea really.
Show differencesHistory of post edits
Posted 20 March 2013 - 09:04 PM
I'm thinking you missed one part:
We upload two matrices. One of these is used for normals, and the other is used for positions. The normal matrix is only 3x3 instead of the usual 4x4. This is because normals do not use the translation component.
You're using a mat4 that has the translations, sounds that's why your lighting changes direction when you move the camera.