Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Zero01

Member Since 28 Feb 2011
Offline Last Active Feb 24 2013 10:52 AM

#4813419 How to setup paraboloid's view matrix in dual paraboloid shadow map?

Posted by Zero01 on 20 May 2011 - 05:18 AM

I've checked your code and I'm sure that there are no more bugs in your project,
but you wasn't aware of the premise for DPSM:
if you want good quality, then (like Viik said) you have to use highly tesselated geometry!
Your ground plate has 4 verts, that's the cause why you have distortions. Use as much verts as possible!

Incidentally, one function for building the shadow maps is enough: only direction and the render targets are different - use params.


#4812488 How to setup paraboloid's view matrix in dual paraboloid shadow map?

Posted by Zero01 on 18 May 2011 - 06:30 AM

1. The R32F format is slower, but more accurate!
2. You shouldn't comment out the g_fDir param!

If you want, send me your code (mail address in my profile) and I will fix it!


PARTNERS