Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualTournicoti

Posted 22 March 2013 - 01:36 AM

Sorry, I misread your code


#1Tournicoti

Posted 22 March 2013 - 01:28 AM

Hello

 

Not sure if this is actually the problem but

depthStoredInShadowMap = sum / 16.0;

should be

depthStoredInShadowMap = sum / 9.0;

since you are using a 3x3 kernel  (there are 9 samples, not 16)


PARTNERS