|
Hello guys ! Light mapping is giving me troubles :( I tried to follow this : http://docs.unity3d.com/Documentation/Manual/Lightmapping.html but it's not really working... I have declared static some structures (walls, floors ...) and created 7 lights (5 points, 1 directional, 1 spot). I have chosen the Generate Lightmap UVs option for my structures too. Then I finally baked my scene and ... everything but the non static objects are black ! The scene is completely dark. After several tests, I gave up and tried with a scene with 2-3 cubes only. The result is better than completely dark, but not quite what I expected : I'm missing something huge (I hope), but I can't understand why ... EDIT : up ! After a bake of my big scene with the new version 3.5.5f2, I have a different result (?). Is there something corrected in this version ?
(comments are locked)
|
|
http://unity3d.com/unity/whats-new/unity-3.5.5 nothing about lightmaps i don't see any troubles on your scene. just bad-configured lightmapping. the best-looking baked lightmap will create tons of textures and will calculate a lot. decreasing quality settings decreases these. so just spend some time tweaking lightmapper settings. ask if stuck with something
mmmmh, could it be that it works correctly only with directionnal lights for the free version of Unity ?
Aug 08 '12 at 09:46 PM
KiraSensei
i really don't think so. in free version usually features or works, or doesn't works.
Aug 08 '12 at 09:51 PM
ScroodgeM
Ok, so I may need your help :D. I had it work with a directional light, but I have the weard result (like in my screenshot) with spot and point lights. I don't understand what parameter could do that ...
Aug 08 '12 at 09:55 PM
KiraSensei
first, try in all light's properties set shadow type = hard shadows
Aug 08 '12 at 10:05 PM
ScroodgeM
There is no change. I saw that in the inspector, when I select hard shadows in shadow type I have two warnings with a point or spot light : "Only directional lights have shadows in forward rendering" and "Realtime shadows require unity pro". With the directional light, I only have the second warning. I don't quite understand the first one ...
Aug 08 '12 at 10:28 PM
KiraSensei
(comments are locked)
|


