[bugreport] Creeping shadows in light
Lightmass is having trouble with edges. Calculations cause a shadow to appear even in direct lighting when using a sharp edge. I have found no way around this. Is there a way to disable lighting on a model so that I can bake the light & shadows in the 3d program instead? This is a very worrying effect, that I cannot work with.
UPDATE: When using preview quality I don't see this. As noted in the image it becomes apparent with higher quality setting.
UPDATE #2: I decided to check the UV's as recommended by Roel. And much to my surprise there is indeed something going on. I updated this post with the settings I use, and a image showing what UE4 use. They don't match. Now to be clear, I adjusted the UV's and reimported the model, but the UV still remains as they were in the beginning (I thought), but rather it is using the UV from the lightmap, and applies them to the textures too. The position of the UV's in the texture layer isn't the same as in the lightmap (they are offset there). I will check if adjusting the lightmap UV's matter. But this does look interesting.
UPDATE #3: I aligned the UV's so they are the same, but the leaking still happens. So UV's don't seem to have anything to do with it as far as I can tell :( (Not happy)
UPDATE #4: Roel led me to the correct issue. The second UV channel had the size 32 instead of 64. Correcting this and connecting the edges solved the issue. Many thanks to Roel :)
(EDIT: I had to remove these links as the pictures are now gone.)
Did you check your light map uvs (channel 1)? It looks like a uv error.
answered Jul 29 '14 at 11:59 AM
In your picture, it looks as if the UV mapping for the light map channel is not leaving enough margin for the right side, and also not for the top side for the topmost rectangles. Also the lighting problem seems to be with the top face, not the side faces, so the faces you are showing in your pictures are not the ones with the problem, so we can't tell whether there's a problem on the top face.
answered Jul 29 '14 at 04:04 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here