Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Wierd looking lightmap with pattern

Discussion in 'General Graphics' started by KingOfMyEmpire, Mar 14, 2017.

  1. KingOfMyEmpire

    KingOfMyEmpire

    Joined:
    May 17, 2016
    Posts:
    2
    I am new to Unity, and this problem might probably be an easy one to answer for you guys. I have created a room in cinema4D. I imported it in Unity and aded lightning, reflection probes and lightning probes. When I bake everything I get this really wierd pattern on my lightmap! Also, the cealing is not showing?!

    Please tell me what to supply for you to understand :) my question better!

    Any idea?

    /Andy
     

    Attached Files:

  2. FuzzyQuills

    FuzzyQuills

    Joined:
    Jun 8, 2013
    Posts:
    2,871
    If you can post your model, that would be great, that looks like really nasty Z-fighting.
    And Z-fighting generally only happens on meshes with polygons too close to each other.

    If you have walls with two polygons each facing away from each other, thicken them a tiny bit, and try again.
     
    KingOfMyEmpire likes this.
  3. brokenm

    brokenm

    Joined:
    Aug 28, 2014
    Posts:
    22
  4. KingOfMyEmpire

    KingOfMyEmpire

    Joined:
    May 17, 2016
    Posts:
    2
  5. FuzzyQuills

    FuzzyQuills

    Joined:
    Jun 8, 2013
    Posts:
    2,871
    I didn't even think to ask this, as generally, you should have a UV2 set on your model...
    But yea, it is handy to simply check that box if you're not bothered unwrapping twice.