Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity Modular Environment Seam Issue

Discussion in 'General Graphics' started by Apollo580, Jul 28, 2016.

  1. Apollo580

    Apollo580

    Joined:
    Jul 25, 2016
    Posts:
    14
    I'm working on a modular environment set for my game and ran into a weird issue. I have straight walls and then a small curved section. When I added them into my scene I noticed that there are very visible seam marks between the straight and curved wall sections. Has anyone run into this problem before? How can I fix this and what is the issue?

    Any help will be appreciated! Untitled.png
     
  2. raphael-ernaelsten-heaj

    raphael-ernaelsten-heaj

    Joined:
    Mar 9, 2016
    Posts:
    78
    Make sure that the normals of the border vertices are the same, else you'll get lighting discontinuities like here.
     
  3. Apollo580

    Apollo580

    Joined:
    Jul 25, 2016
    Posts:
    14
    How exactly would I be able to do that? I use Maya for example. Thanks!
     
  4. raphael-ernaelsten-heaj

    raphael-ernaelsten-heaj

    Joined:
    Mar 9, 2016
    Posts:
    78
    There are many ways :
    - have a unique mesh with soft edges that you split
    - select the vertices and use the component editor to set the same values in the normals
    - ...

    In your case here, I'd combine all objects, merge the overlapping vertices with Merge With Threshold, soften edges, then split back...
     
  5. Apollo580

    Apollo580

    Joined:
    Jul 25, 2016
    Posts:
    14
    So my only issue is that Im going with a modular design, so I need all the meshes to be unique or else it defeats the purpose of a modular design. I sadly do not have component editor because Im using Maya LT but I tried conforming all the normals and that didn't help. My scene currently looks like this :(

    Weird_Normals.png
     
  6. raphael-ernaelsten-heaj

    raphael-ernaelsten-heaj

    Joined:
    Mar 9, 2016
    Posts:
    78
    No no you don't need the meshes to be unique... you just need your normals to point towards the same directions on the borders of adjacent meshes... you still can use instances of course...

    Here's for the component editor :
    2016-08-03 17_07_14-Autodesk Maya 2016 - Student Version_ untitled_.png
     
  7. Apollo580

    Apollo580

    Joined:
    Jul 25, 2016
    Posts:
    14
    Sadly Maya LT does not include what you are showing. I did however set the normals all to 30 degrees but the problem still exists. I also tried disabling all but one light and if I move that light across the floor I don't see that issue of the seems. It seems to deal with the light potentially.
     
  8. Apollo580

    Apollo580

    Joined:
    Jul 25, 2016
    Posts:
    14
    Solved the problem! So I was using real time lighting and my Pixel Light Count was set to 4 which is too low. I changed it to 10 and the light issue was gone. I didn't like this solution so I changed my Pixel Light Count back to 4 and instead started using Deferred Light Rendering which works very well. Thanks for your help!
     
  9. raphael-ernaelsten-heaj

    raphael-ernaelsten-heaj

    Joined:
    Mar 9, 2016
    Posts:
    78
    Just a thought. If you're using Maya LT, you might be eligible for the latest student version which is complete (apparently LT isn't).
     
  10. Apollo580

    Apollo580

    Joined:
    Jul 25, 2016
    Posts:
    14
    Sadly I'm not a student and I prefer the cheaper price of Maya LT since I will be able to sell what I create if I ever get that far.