Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

alt text alt text alt text alt text

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 ?

Product Version: UE 4.12
more ▼

asked Nov 30 '16 at 10:42 PM in Rendering

avatar image

48 5 8 20

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi Switchblade,

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.


more ▼

answered Dec 01 '16 at 03:55 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 888 103 878

avatar image switchblade_77 Dec 02 '16 at 12:36 AM

Thanks Tim, I've gone through your guide and found it really useful. Can you give me any reference videos to where using other geometry between the seams would solve the case ? And by doing so can I still follow the methods used by bethesda studios in their modular level creation (ref : http://blog.joelburgess.com/2013/04/skyrims-modular-level-design-gdc-2013.html )

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question