View Full Version : help with lights and shadows
01-31-2012, 10:08 AM
Hey, i'm new to UDK, i've barely started to learn. I have created a scene in 3dsmax and exported it .fbx. Every object has a 64x64 lightmap except the whole house which has 256x256. Please check this video up and tell what's wrong and why all the shadows look like crap.
Any help is appreciated.
Here's the video: http://www.youtube.com/watch?v=W18OrKinpik&list=HL1328018563&feature=mh_lolz
LE: I've imported the scene into the "midday lighting" template and added a few simple lights, the ones you add by default using the "L" key + clicking, in the house.
Again, any help is appreciated. Thanks.
I think the lightmaps are a bit of a too low quality. so bump them up. Secondly, You may need to use the 'production' lightmass settings That greatly increases the accuracy of the shadows.
02-01-2012, 06:31 AM
ok so reimported the house and a chair... house's lightmap is 1024, chair's is 256 and production lighting.
img 1: http://imageshack.us/photo/my-images/6/shadowshu.jpg/
img 2: http://imageshack.us/photo/my-images/59/shadows2p.jpg/
img 3: http://imageshack.us/photo/my-images/268/shadows3.jpg/
shadows still suck :-s. in img1 the shadow near the green line is great yet the shadowed area looks like crap...
the next 2 images are the same, and in my opinion the quality never changed between that in the video and this one in the pictures yet I had higher res lightmaps and production lighting.
02-01-2012, 07:25 AM
ok so here's another image without the lights on the inside.
I think the shadows look way better but still not exactly smooth...
One question: does the lightmap of an object affect the shadows that it casts, the shadows that it receives or both?
02-01-2012, 11:53 AM
The lightmap is just the shadows it recieves
02-01-2012, 12:33 PM
No, lightmaps are where light hits an object. Shadows are drawn seperately (although lightmaps will also show where light does not hit an object, it is not accurate due to the lower resolution).
02-01-2012, 12:40 PM
Yeah, my point is just that the lightmap setting changes just that object, not other objects
02-01-2012, 12:40 PM
so how do I fix my shadows? :-<
02-01-2012, 12:51 PM
You don't have shadows ;)
Your lightmap resolution appears to be too low for the fidelity you're going for. This is what causes the issue with blotchyness you can see; pick out the meshes that have blotchiness applied to them, and up their lightmap resolution.
02-01-2012, 12:55 PM
how much? i got to 2048x2048 on the whole house and the time it takes to build maps is getting up to 30 mins :-<
02-01-2012, 01:07 PM
If your whole house is one mesh, that would be the immediate root of the problem.
02-01-2012, 01:31 PM
A house like that shouldn't be all one object, you need to separate it out into separate meshes.
02-02-2012, 07:22 AM
ok did that, gonna test it immediately but first, how do I group objects in UDK ? :D
02-02-2012, 04:38 PM
select all object, kepp -Ctrl- right click - group actors
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.