PDA

View Full Version : Directional lights and shadows



Bobreg
12-28-2009, 12:43 PM
I'm trying to get and building set on a terrain to look realistic.

On my terrain the shadows from my dominant directional light were too dark so I tried a directional light with shadowing turned off but those lights brighten interiors that should not be lit. I have not been able to use directional lights in any satisfying way.
Does anyone know where can I find a tutorial that looks closely at the settings and successful implementation of directional lights?

Quio
12-30-2009, 04:31 PM
The top sticky thread on this forum has video tutorials on lighting as well. Check for Unreal Development Kit 3D Buzz Lightning Tutorial Video Package

http://forums.epicgames.com/showthread.php?t=710137

javahawk
12-31-2009, 07:13 PM
Of note here: You want to look into light volumes. Light volumes allow you to include and exclude lights, so if you have interiors you don't want your directional lights to hit, you should encompass that area in a new volume...

It's actually a good tutorial for me to write. Lighting is quite a tricky task. I'll keep you posted if I do that. If you have any specific questions feel free to email me at udkTutorials@gmail.com and I'll respond =)

Joshua

KazeoHin
01-01-2010, 04:36 AM
Make sure you go into your world properties, (view>world Properties) then under lightmass you set an environment color, usually match it to your skybox's averaged color, then use a dominant light like you normally would.

Bobreg
01-01-2010, 11:15 AM
Thank you everyone.
Quio - I didn't find any of the Buzz videos or other tutorials that handled the subject in depth. The Directional light links at the Unreal Network are red and I can't access them. Not sure they would be much help anyway.

javahawk and KazeoHin I'm trying the volumes and the world properties now, but I still haven't gotten any good results. I still get light bleeding through and around meshes, badly shaped shaddows and light/dark irregularities. I suspect it's because I just don't know enough but just maybe it's the tools. ?