Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#ActualTheChubu

Posted 20 March 2013 - 09:17 PM

Edit: Nope. Wasn't that. No idea really.


#2TheChubu

Posted 20 March 2013 - 09:04 PM

Edit: Nope. Wasn't that.


#1TheChubu

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.


PARTNERS