Following on from this thread:
http://www.blitzbasic.com/Community/posts.php?topic=54091
I attempted to put together a hopefully better shadow/lighting demo than what I posted in the above thread.
If you are interested then the source code is here (with sample media):
http://home.swiftdsl.com.au/~gezeder/lloyd/MoreShadows.zip
(about 300k)
Simply run the file Sci Fi Engine.bb and it should work.
All the shadow generation code is in the file shadowmap.bb
There are only a few functions required for it and it could probably be optimised. It runs at around 50fps-60fps on my laptop.
You will notice if you inspect the level meshes that I have created them in a particular manner.
There are still some graphical glitches here and there but I hope someone may find it useful. It has inspired me to get back on to working on an old project I'd left along time ago.
http://www.blitzbasic.com/Community/posts.php?topic=54091
I attempted to put together a hopefully better shadow/lighting demo than what I posted in the above thread.
If you are interested then the source code is here (with sample media):
http://home.swiftdsl.com.au/~gezeder/lloyd/MoreShadows.zip
(about 300k)
Simply run the file Sci Fi Engine.bb and it should work.
All the shadow generation code is in the file shadowmap.bb
There are only a few functions required for it and it could probably be optimised. It runs at around 50fps-60fps on my laptop.
You will notice if you inspect the level meshes that I have created them in a particular manner.
There are still some graphical glitches here and there but I hope someone may find it useful. It has inspired me to get back on to working on an old project I'd left along time ago.


