Serious Lighting Problems In UE4
Hello, I have been trying for over a week now in UE4 just to create a simple wall, no matter what I do or what tutorials I watch my static mesh is always left with shadow problem like these:
If you look at this image you will notice the two static mesh walls create a tiled lighting effect.
Also if you look at this image the lightmap is projecting black lines on my mesh.
If it isn't dark shadows in the corner of my walls it's those black lines every time. I have changed the lightmap arrangement many times.
The black lines issue is solved when I up the shadow resolution to 256 however I am worried this will cause performance issues as my level will be quite demanding.
I noticed the walls supplied in UE4 worked perfectly so I exported them and gave them materials in blender to have multicoloured walls however when I imported the mesh back into UE4 there was a huge shadow in the corner.
Before anybody asks I have been rebuilding the lighting...
Here are some of the static meshes I have made:
This is one I have made from scratch http://www.mediafire.com/view/2p6vrzb8yzpv955/Wall4Mx30CMx4M.fbx This is the exported wall from UE4 that I added materials onto http://www.mediafire.com/view/fnq2snihbbmd1bq/wall400x20x400final.fbx
Any help would be great thanks :)
asked Jun 16 '14 at 03:22 PM in Rendering
Hi, I am guessing it is because you are not giving an empty buffer zone around each UV chart in the lightmap UVs. How are you generating lightmap UVs? it is possible that the UE4 wall you tried to re-export and re-import lost either its lightmap UVs or the lightmapcoordinateindex setting after reimporting, so you weren't seeing the same asset in the same configuration.
Also, your first image looks more like lighting was not rebuilt using Production quality. I believe there also is a bug with different lightmass threads causing some of those seams, but that is a different artifact from the corner seams. Going to Production should still help reduce it. If not, do you really need the wall to be individual meshes next to eachother? I would never build a level like that, it would get pretty expensive. I'd make a longer wall section that was merged together with one nice clean lightmap surface.
I do not have a mediafire account but if you are unable to figure this out after my advice I will sign up and check out the file.
Follow this question
Once you sign in you will be able to subscribe for any updates here