why don't my static lights appear after building the scene?
So something weird is happening with my point lights. I have a dark hallway in my scene and I put a point light in it to light it up. The lights do show up so then I go and build the lighting however when I do that, the lights don't show up when the build is complete. Why is that happening? The other strange thing is that some lights appear to be working after the build is finished but some lights are completely absent making certain rooms dark. So what is going on?
P.S I started having problems with the lights when I changed them all to static lights.
That sounds like a problem with the lightmaps. Until you build the lighting, Unreal is doing dynamic lighting so you get a preview of the scene. Once you do the build, it shows you the built static lighting, and that may be broken if the lightmaps aren't set up correctly.
There are two things that tend to go wrong. The first is that your objects don't have lightmaps at all, because they don't have a suitable UV unwrap. For example, you might have a wall which is textured with a repeating brick pattern. Some of the UV coordinates will be greater than one, because otherwise the texture wouldn't repeat. However this UV unwrap is not suitable for use with lightmapping, because obviously the lightmap is not a repeating pattern.
If you have this problem, you can generate an additional UV unwrap in the static mesh editor, save it to UV channel 1, and set that as the lightmap UV.
The other problem is that the objects have lightmaps, but the density is very low. The defaults for lightmap density tend to be on the low side, so it's easy to end up in this position without realising. To test for this, click the dropdown where you select the view type (normally it will say 'Lit' because you that is the most common way of viewing the scene). Select Lightmap Density instead. You want your geometry to show up green; if you get lots of blues you need to increase the lightmap density in the static mesh editor.
answered Jul 16 '15 at 10:10 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here