Seams and weird shadows in Modular Meshes
Hi, I have some issues with shadows and seams between modular meshes. I've gone through some answers and adjusted my UV's to have at least 2px spacing between each UV island and that the UV's are snapped on grid.
These screenshots are with Static lighting level 1.0 Indirect lighting quality 1.0 Indirect lighting smoothness 1.0
Adjusting these to Static lighting level 1.0 Indirect lighting quality 2.0 Indirect lighting smoothness 0.6
Makes the shadows more wavy and the seams to be much less but I cannot eliminate them and the trade-off for bad shadows for less seams seems to be a bad way to proceed.
Decreasing the Static lighting level to 0.1 makes it even worse
Lightmap resolution for the meshes are 64, increasing them also gives me the same result
This links shows that modular building is possible https://forums.unrealengine.com/showthread.php?73442-Lighting-issue-gt-shadow-issue-on-edge-of-meshes
There are some other threads which states that it is not possible because each mesh is rendered on a different thread causing the seams. Ref to that : https://answers.unrealengine.com/questions/62360/how-to-fix-blocky-shadows-across-modular-walls.html
How do I fix these issues ?
I've covered the shading issue you see between modular pieces here on my Lighting Wiki guide: https://wiki.unrealengine.com/LightingTroubleshootingGuide#Shadow_Seams.2FShading_Differences_with_Indirect_Lighting
This guide includes some tips for getting rid of the issue. Ultimately, for something like your wall you would be better to use a single mesh for the wall or other geometry to cover these seams. Sometimes over-modularizing your scene is not the best option and just increases draw-calls that need to be performed and gives you results like this. Hopefully, we can fix this in the future and this won't be an issue, but as far as I'm aware there are no plans at the moment.
The wavy shadows are due to low lightmap resolution.
answered Dec 01 '16 at 03:55 PM
Tim Hobson ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here