2

I am working with XNA 3.0 (sigh, I know) and I am working off a tutorial that helps implement a 3d scene with objects where a spot light hits a torus and projects a hard-edged shadow. Now, I want to know where I can find help (tutorial, source code, snippet) to soften said shadow?

pinckerman
  • 4,115
  • 6
  • 33
  • 42
user2529011
  • 705
  • 3
  • 11
  • 21

1 Answers1

2

Simplest way would be use Percentage Closer Filtering. Basically it works by taking a few shadow map samples. You can start from an article in GPU Gems.

  • Thank you it helped out a lot what we did also is aslo altering the offset of the shadow. It kind of has a lapping effect but it is close enough. – user2529011 Jul 30 '13 at 11:44