how to modify shadow mapping in "3D Graphics with XNA Game Studio 4.0"?

Posted by naprox on Game Development See other posts from Game Development or by naprox
Published on 2012-08-15T18:01:14Z Indexed on 2012/09/15 3:48 UTC
Read the original article Hit count: 275

Filed under:
|
|
|
|

So I've been following the tutorials from the book Sean James's "3D Graphics with XNA Game Studio 4.0", and have been doing fine until i reached the shadow mapping part. in this book it creates point lights with a Sphere model. my first Q is how to draw a directional Light with this frame work? secondly it can do shadow mapping just for one light, how can i do shadow mapping for all or parts of the lights in the game? i just want to know how to modify this codes to do the above tasks. I've followed tutorials on MSDN and some other sites and didn't got the answer. please help me, its so urgent.

and if any one wants, the complete code is here: http://www.mediafire.com/?6ct11mc1g8f891h

© Game Development or respective owner

Related posts about XNA

Related posts about shaders