Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 12 Jan 2013
Offline Last Active Aug 22 2013 10:36 PM

Posts I've Made

In Topic: Shadow maps flipped and offset in deferred renderer

16 January 2013 - 04:14 AM

Fixed it. I did have a bias, although it wasn't correct, it wasn't the full cause of the issues. The underlying problem was really, really silly.


This line of code...


shadowMatrix = shadowViewMatrix * shadowProjectionMatrix;


Was reversed, and should have been:


shadowMatrix = shadowProjectionMatrix * shadowViewMatrix;


I didn't think that would make a difference, but it did.


Thanks anyway, I appreciate it!