Original Post
Hi everybody,
has anyone some experience with realtime dynamic shadowing of large environments ? I''m currently on a visualization job, and trying to add high quality sun-shadows to the 3D system. The system already has a precalculated (static) radiosity system (by lightmapping). Now I would like to include a full dynamic sun. Eg. you can specify the time of day, and the lighting (incl. all shadows) will move in the appropriate positions. The shadows should also be fully interactive (eg. project on moving objects).
I thought about the best shadow solution for this particular situation, and I guess I''m more or less stuck with shadow maps. The geometry is very complex, so extruding and rendering shadow volumes would be incredibly costly (and thus is no option).
Shadowmaps are very interactive (and rather fast, since target HW is a GF4), but the quality isn''t that good. They are just too fuzzy. I already use 2048²/24bit depthmaps, so I can''t go much higher. And since the environment is huge, I constantly need to regenerate new depthmaps, that''s not good for the framerate either.
I recently found this paper about "perspective shadowmaps", it''s rather interesting. They distort the shadowmap by using the camera projection, in order to squeeze the maximum amount of resolution for the current view out of it.
Has anyone tried something similar to this ? Or another idea how to manage large sets of shadowmaps, perhaps through image based rendering of depthmaps ? I''m just looking for some new ideas, I''d be interesting to hear how other people managed this particular problem.
/ Yann