문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top