Okay! Demo now available from the code archives...
http://www.blitzbasic.com/codearcs/codearcs.php?code=1107
...I've still got some tweaks to make to it. Please let me know how you find the performance. The flare tinting feature does slow things down a bit, I must admit. So far, I find it quite acceptable. Although, I find that looking at the sun through the leaves of the tree in the demo couses a severe slowdown--possibly because the leaf texture uses masking, rather than an alpha channel. I'm still experimenting! :)
http://www.blitzbasic.com/codearcs/codearcs.php?code=1107
...I've still got some tweaks to make to it. Please let me know how you find the performance. The flare tinting feature does slow things down a bit, I must admit. So far, I find it quite acceptable. Although, I find that looking at the sun through the leaves of the tree in the demo couses a severe slowdown--possibly because the leaf texture uses masking, rather than an alpha channel. I'm still experimenting! :)