Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I've been trying to crack this problem for a while now and I'd like to know if there's a tutorial or two out there that can help me with this. I know how to do shadow mapping with a single light, and I know how to implement multiple lights. What I can't seem to do is put them together, despite my many attempts.

So yeah, does anyone know of any XNA tutorials that can baby-step me through this?

EDIT: This is for a 3D environment

share|improve this question
add comment

closed as not constructive by Anko, Byte56, bummzack, Trevor Powell, Josh Petrie Apr 17 '13 at 4:30

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers

I don't think there is, but here is one for DirectX.

But since your problem is that yours is not working, I would suggest writing as much information as you can to console, and building some tools to show what is going on, like a draw line function. Personally, I like to copy my entire project folder every couple hours when doing this sort of thing. Best of luck.

edit: I've added some links in the comments. Hopefully there is something you can use there.

share|improve this answer
    
Also Remers Tutorial (This form thread suggests this may not be your best bet, but mentions a book that may help) –  user29564 Apr 15 '13 at 5:56
    
Shadow Mapping Example and it's related tutorial (I've noticed some weird artifacts in this one, depending on the camera position) –  user29564 Apr 15 '13 at 5:57
    
Someone with a similar question –  user29564 Apr 15 '13 at 5:57
    
An OpenGL Tutorial it's pretty in depth. –  user29564 Apr 15 '13 at 5:57
    
A list of HLSL tutorials –  user29564 Apr 15 '13 at 5:58
show 2 more comments

This tutorial should explain to you how to accomplish this:

http://www.catalinzima.com/2010/07/my-technique-for-the-shader-based-dynamic-2d-shadows/

I've used this technique and it works quite well.

share|improve this answer
    
Sorry bro. Forgot to mention that this was in a 3D environment –  MetaReference Mar 15 '13 at 13:35
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.