Some days ago I was browsing through Acknex Unlimited and I found this 2009 Summer Contest Entry by Martin Coumont (
http://www.opserver.de/coni_users/web_users/pirvu/au/demo/zips/acdfsm.zip) and couldn't resist to share it with people here, as I'm sure some of you didn't know about it.
Approximate Cumulative Distribution Function Shadowmapping (ACDFSM) allows bassically dynamic shadowmapping for:
-Sun Light
-Pointlights
-SpotLights
-Up to 9 Lights at the same time.
I've searched for a long time for something like this and finally found it, I tested on A8 building a simple scene using ACDFSM and A8's HDR It and it worked perfectly.
Here are some screenshots:
Link for scene+source: http://www.mediafire.com/?l7kb4kq4kvyyptkIf you want to use it I've prepared it so you just have to copy the folder "ACDFSM" to you project folder and add these lines to your code:
#define PRAGMA_PATH "ACDFSM";
#include "acdfsm_main.c"
then start them:
You can easily add lights using the included my_pointlight and my_spotlights dummy models, as they will get automatically assigned their action and you can set them up in WED in seconds.
Thank you very very much Martin Coumont!!