I was trying powers of 2 and 64 worked.
Dev, was thinking that if you use sprites, you'll only be able to project flat shadows on the floor. This would probably be faster, and useful in areas where there are large flat spaces. I could add a flag to the light entity so that some of them use this method. I suggest using quad meshes instead of sprites, so the routines will transfer more easily to other lighting methods.
I would still like to get something working where shadows are cast on any wall, but I think flat shadows cast onto the ground, if that is what you're talking about, would be enough for now.
Since we're working within an engine, we can have a little more of a controlled environment than pure Blitz. If you need anything special set up to make your routines faster, let me know.
Dev, was thinking that if you use sprites, you'll only be able to project flat shadows on the floor. This would probably be faster, and useful in areas where there are large flat spaces. I could add a flag to the light entity so that some of them use this method. I suggest using quad meshes instead of sprites, so the routines will transfer more easily to other lighting methods.
I would still like to get something working where shadows are cast on any wall, but I think flat shadows cast onto the ground, if that is what you're talking about, would be enough for now.
Since we're working within an engine, we can have a little more of a controlled environment than pure Blitz. If you need anything special set up to make your routines faster, let me know.