I always thought, and was told, that it was pretty much impossible to have true dynamic light and shadows in UDK/UE3, which was one of the most disappointing things I'd ever heard about the engine. I dont know about you, but I've always believed that dynamic shadows are one of the most important and immersion enhancing graphical features in gaming, ever. You take ANY game, especially a game with an edge of horror or suspense, and add dynamic shadows, and it instantly becomes twice as deep and atmospheric. A game like Deadspace, Condemned or even Skyrim (if it were feasible) with full dynamic light would be unbelievable IMO!
Anyway enough of that. A while ago, a guy on youtube proved all the skeptics wrong and showed that it WAS possible to make EVERYTHING cast dynamic, moving shadows, (even BSP ffs!). All you have to do is create a light that will move and cast the dynamic shadows, then go into the properties and untick "cast static shadows", then under "channels", make sure "dynamic" is ticked. Finally, goto "LIGHT SHADOW MODE" and change it from modulated, to "NORMAL" (this is the key), now tweak the resolutions to your liking. I tend to go no lower than 1024 for all 3, but I haven't tried lower so just experiment. You will also need to setup any static meshes to cast dynamic shadows too (basically the same process as the light).
Now make sure your light is attached to your player, or setup in a way that it will move in some way if it isn't a flashlight (like maybe a swinging light, or a passing car etc), and hit test. Now you've got FULLY dynamic shadows in UDK, and the performance doesn't even take any major hits!!
I couldn't find the original youtube video that I learn't this from, so I cant credit him here, but I cant thank him enough, because he basically showed me how to circumvent the biggest gripe I have with UE3. The guys a legend! I just want to pass on what he taught me to anyone else who thinks dynamic shadows are a nessecity in creating a believable atmosphere!
peace
Anyway enough of that. A while ago, a guy on youtube proved all the skeptics wrong and showed that it WAS possible to make EVERYTHING cast dynamic, moving shadows, (even BSP ffs!). All you have to do is create a light that will move and cast the dynamic shadows, then go into the properties and untick "cast static shadows", then under "channels", make sure "dynamic" is ticked. Finally, goto "LIGHT SHADOW MODE" and change it from modulated, to "NORMAL" (this is the key), now tweak the resolutions to your liking. I tend to go no lower than 1024 for all 3, but I haven't tried lower so just experiment. You will also need to setup any static meshes to cast dynamic shadows too (basically the same process as the light).
Now make sure your light is attached to your player, or setup in a way that it will move in some way if it isn't a flashlight (like maybe a swinging light, or a passing car etc), and hit test. Now you've got FULLY dynamic shadows in UDK, and the performance doesn't even take any major hits!!
I couldn't find the original youtube video that I learn't this from, so I cant credit him here, but I cant thank him enough, because he basically showed me how to circumvent the biggest gripe I have with UE3. The guys a legend! I just want to pass on what he taught me to anyone else who thinks dynamic shadows are a nessecity in creating a believable atmosphere!
peace
Comment