Search Unity

Question Problem With Baked Lightmap Shadows

Discussion in 'General Graphics' started by Shanti-AnyVerse, May 9, 2022.

  1. Shanti-AnyVerse

    Shanti-AnyVerse

    Joined:
    Dec 26, 2021
    Posts:
    24
    Hi
    I am working with baked lightmaps on Unity 2020.3.22 URP (Build for Quest)
    Sometimes when i Bake lightmaps the shadows are off (usually for specific objects)
    look at the Desk Shadow (or bounce) in the following picture:
    upload_2022-5-9_13-19-55.png
    I've tried changing most parameters in the lighting settings asset but nothing solves this completely
    The light itself is a simple Baked point light.
    any help will be welcomed
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,735
    Is the dark area under the desk red in the texel validity view? (texel validity view works properly only after a bake).
     
  3. Shanti-AnyVerse

    Shanti-AnyVerse

    Joined:
    Dec 26, 2021
    Posts:
    24
    where can i find texel validity view?
    this is after a bake of course....
    many Bakes
     
  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,735
    It's in scene view.
    upload_2022-5-9_13-43-0.png
    By after a bake, I mean right after a bake, since if you bake -> close Unity -> Open Unity, texel validity view might not show up.
     
  5. Shanti-AnyVerse

    Shanti-AnyVerse

    Joined:
    Dec 26, 2021
    Posts:
    24
    upload_2022-5-9_13-58-43.png
    looks fine, what do you think?
     
  6. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,735
    It doesn't look fine :) In fact it's not showing at all. You should do a bake (you can reduce the samples a lot to make it really fast) and then look at the view again.

    Fine should be all green.
     
  7. Shanti-AnyVerse

    Shanti-AnyVerse

    Joined:
    Dec 26, 2021
    Posts:
    24
    thanks, so what do i do when it looks like this?