PDA

View Full Version : Projective texture shadow



Coluna
10-20-2003, 10:03 AM
Hi; im trying to do simple projective textured shadows, for an infinite light source...i didnt find any example using infinite, only local light sources...if anybody knows some links please send me...thanx

Obli
10-21-2003, 11:28 AM
Maybe you don't find it because everyone realized shadow maps are not good for infinite lights.
Some documents simply tell you to set the projection to an orthographic and draw straigh in the shadowmap, what they don't say you is that most of the time you could get an horrible quality by it.
You know that a shadowmap is fixed size while directional infinite lights are not. This means it's easy to get very limited spatial resolution.

As a side note, I would suggest you to leave shadow mapping out of the way. I posted something about this some time ago...