Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!

We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


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


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