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
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…