Btw, will adding more depth maps not cause higher aliasing effects ??
Nope, that has nothing to do with each other It just allows me smoother steps between the different qualities.
I compiled the dll with an other compiler and it seems to work now You can download the new Version here: http://files.filefront.com/VSM+Sun+V2/;9386545;/fileinfo.html I just swapped to an bigger depthmap resolution (1024*1024*32) which makes it look a bit better but is quite slow and needs a good graphicscard. But there is quite a bit of space for optimisations Turn around with the mouse and move with WASD or the arrow keys. Move the sun around with q and e. I hope that it works this time
And yeah I know there is still a lot to do... But I hope that I am on a good track