A really easy way to do real-time shadows that is applicable for actual game use

Blitz3D Forums/Blitz3D Programming/A really easy way to do real-time shadows that is applicable for actual game use

"sswift - for my game I would probably prefer the falloff to end at the 'height' of the shadow."

Afraid I can't/won't do that. :-)

To do that I would have to calculate the vertex which is closest to the light source and the vetex with is the farhtest from the light source and that would slow things down and be a pain in the ass and only you want to do that. :-)

Also what of special cases like a shadow which only angles away from the object a little, or not at all? Can't fade that case like that. It would look totally wrong.

But what I am going to do is make it so that you can set the distance from the caster at which the shadow fades out completely. That should be adequate.