Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualEarthBanana

Posted 31 March 2013 - 02:04 PM

Thanks it looks like that's exactly what I need.

 

I found also what I was doing wrong in making the higher resolution shadow map texture - I wasnt changing the viewport size to match the texture when I enabled the frame buffer.. It works great now - I'm working on switching textures based on the camera's distance from the shadows now - it's a bit tricky though considering the shadows can all be at different depths in the viewing frustum.. I'll figure it out though

 

Thanks for the help


#1EarthBanana

Posted 31 March 2013 - 11:44 AM

Thanks it looks like that's exactly what I need.

 

Does anyone know how to make the shadow map texture a different resolution than the screen - I'm confused here. I generated a texture that is 4024 by 4024 for the shadow map and sent a new projection matrix in to the shadow map VS (with the new size) but no matter what I do the shadows come out on the screen proportioned wrong.

 

Thanks for the help


PARTNERS