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

Lightmaping on Unity5

Discussion in 'Editor & General Support' started by emergki, May 7, 2015.

  1. emergki

    emergki

    Joined:
    Oct 15, 2007
    Posts:
    421
    Hey, why I can't generate the lightmap in the Unity5? I'm trying to generate it but, looks like always I try, the Unity looks like can't pass this step: " 7 / 11 - Light Transport | 19 jobs". Here is the picture of the problem.

     
  2. Hohel

    Hohel

    Joined:
    May 6, 2015
    Posts:
    6
    I've got this stuck bake problem, not with light transport but something else. However I've checked Precompiled Realitime Gi, and got to big value in realtime resolution(2...), when I give amout < 0.2 it worked. Maybe try check it and give smaller amout of resolution.

    P.S. I can see that You don't have lightmap display subwindow when You've got lighting tab on. You know maybe how to call for this subwindow?
     
  3. emergki

    emergki

    Joined:
    Oct 15, 2007
    Posts:
    421
    Hi @Hohel, thank you, I'll try.

    About the lightmap display subwindow, I don't know why it doesn't appear here too :( and don't know how to make it appear.
     
  4. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    What do you mean with the "lightmap display subwindow"?
    Do you mean the little window that shows in the lower right corner of your Scene View?
    That was only on the 4.x version and before, as the old light-mapping was in place.
    If you like to view how your light map resolution is in the world, just go to the menu in the top left of your scene view , where on default its called "Shaded", there you find a lot of different views that can help you with he light-mapping.
     
  5. Hohel

    Hohel

    Joined:
    May 6, 2015
    Posts:
    6
    @emergki Did it work for You, lowering resolution?

    @fffMalzbier Ok, I see this, thank You. And can I totally turn off light-mapping?
     
  6. emergki

    emergki

    Joined:
    Oct 15, 2007
    Posts:
    421
    Yep @Hohel, it works. Anyway, after generating the lightmaps, I'll need to use the Directional Light with the Baking as "Mixed" to have the "light" for the Dynamic objects? (With disabled shadows for mobile)
     
  7. Hohel

    Hohel

    Joined:
    May 6, 2015
    Posts:
    6
    @emergki
    Well I baked my lightmap, and then I just switched this lights which I was baking to "Mixed". It's almost working. I can see light reflecting in the object, though I can't make shadows working :/. I came up with idea to workaround, making another light in place of old, and set to realtime... but then what this light mapping would give... nothing.
    So answering to Your question, Yes, if You'll switch this Directional light to Mixed You should have lights working(at least reflections in non-static objects).