I have been going over shadowing for a while now and looked at every piece of code I could find. The problem is, I only understand less then 1% of the code.
What I have is a terrain created from TED, lightmapped already with trees, buildings, etc. I really need to get some shadows projected from my characters though.
While all the code and demos I found looked great I couldnt implement them into my game, demo's used Loadimage terrains where I use a mesh terrain, etc.
I was wondering if it would be possible to create a lightmap of the scene and overide the previous one. A newer lightmap would account for sun direction changes, character and npc changes, cast shadows accordingly, save it as a lightmap then overide the previous existing one to show all the updated shadows. This would have to occur every flip of course or maybe stagger it so it doesnt eat up your pc? I have a feeling that yous will all tell me that this would be too CPU/GPU consuming though or else wouldve already been done.
I would love Swifts Shadow System, but Im broke from the DarkBasic Pro days, lol.
I may have to resort to the blob shadows for moving entities.
Ok, thanks, bye.
What I have is a terrain created from TED, lightmapped already with trees, buildings, etc. I really need to get some shadows projected from my characters though.
While all the code and demos I found looked great I couldnt implement them into my game, demo's used Loadimage terrains where I use a mesh terrain, etc.
I was wondering if it would be possible to create a lightmap of the scene and overide the previous one. A newer lightmap would account for sun direction changes, character and npc changes, cast shadows accordingly, save it as a lightmap then overide the previous existing one to show all the updated shadows. This would have to occur every flip of course or maybe stagger it so it doesnt eat up your pc? I have a feeling that yous will all tell me that this would be too CPU/GPU consuming though or else wouldve already been done.
I would love Swifts Shadow System, but Im broke from the DarkBasic Pro days, lol.
I may have to resort to the blob shadows for moving entities.
Ok, thanks, bye.