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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Lightmap Static issue

Discussion in 'Global Illumination' started by Sebapler, Nov 27, 2015.

  1. Sebapler

    Sebapler

    Joined:
    Jun 24, 2015
    Posts:
    23
    Why is this happening? When I turn lightmap static on strange shadows appear, when I turn it off everything looks fine, but I need it to be turned on so I can use reflection probe. Does anyone know how to solve this?

    Lightmap static off
    no.png

    Lightmap static on
    yes.png
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,021
    You need it for reflection probes? Are you sure? Can't you just select the probe and press to bake it?
     
  3. Sebapler

    Sebapler

    Joined:
    Jun 24, 2015
    Posts:
    23
    Will it create the same effect? can you be a bit more specific. :)
     
  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,021
    Do you want to improve the lightmaps. Or do you want to not use lightmaps and just use reflection probes?
     
  5. Sebapler

    Sebapler

    Joined:
    Jun 24, 2015
    Posts:
    23
    If I think about it more... I want to improve the lightmaps
     
  6. KickBack

    KickBack

    Joined:
    Nov 18, 2014
    Posts:
    10
    Raising the resolution a bit might help with those weird shadows.

    I guess you use realtime/precompute?

    Are your UVs ok (are you using Generate UVs?).

    Is the floor one big plain?
     
  7. Sebapler

    Sebapler

    Joined:
    Jun 24, 2015
    Posts:
    23
    I"m not sure what resolution you are talking about, but I guess about the texture one (I use 4k)
    Are my US's ok? think so, have a look (no I'm not using Generate UVs)
    UVąs.png

    And you actually solved half of my problem with the word (plain) I've change it to a cube floor and the strange shadows are now gone, but here is why just (half) I still got them on my bathroom walls, If I turn my bathroom light on they are going to shine frew it around it.

    Here is how it looks now:
    light.png