how to modify shadow mapping in "3D Graphics with XNA Game Studio 4.0"?
- by naprox
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