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
  4. Dismiss Notice

Unity5 - Enlighten

Discussion in 'Editor & General Support' started by AviB, Nov 23, 2015.

  1. AviB

    AviB

    Joined:
    Jan 28, 2014
    Posts:
    22
    Hi,
    I have two questions which I think are related one to another.
    1. We have large scale models ( Buildings ) and we are trying to bake the scene light-maps as we did
    on Unity4. It seems that large scale objects takes ages to bake ( days ). I have tried so lower down any parameters available to me on the tool. The result looks very bad. The default settings looks OK for most of cases, but they are extremely time intense for large objects. Real-time GI works fine, but we need the speed
    of the baked maps. I have noticed the problem is not related to our models. It happen to any large scale models ( A simple cube of size 100m takes extremely long baking time ).
    Am I doing something wrong? Splitting the mesh to small pieces is not an option.

    2. If GI is a problem, can we bake shadow map without GI info?

    Tnx.
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,011
    You can lower the precompute resolution only on those really large buildings : http://docs.unity3d.com/Manual/LightmapParameters.html

    Baked GI uses uses the realtime GI upsample to bake its lightmaps (with some improvements) so if your precompute looks bad, your baked GI will as well.
     
  3. ForceVFX

    ForceVFX

    Joined:
    Jan 21, 2011
    Posts:
    612
    SCALE....create.blank game object, parent all static meshes..scale to .001...bake..
    Un-parent...that worked for me.
    That is the fatal flaw, it does not compute in a linear scale...

    This was the only way I was able to complete a bake, my 4.6 project, in 5.2.
    But..watch unity change your UV2...what?

    P
     
    Last edited: Nov 23, 2015
  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,011
    ...Or just really reduce the precompute resolution (Which is what effectively happens as far as GI is concerned, when you scale everything down)
     
  5. AviB

    AviB

    Joined:
    Jan 28, 2014
    Posts:
    22
    Hi all,
    Sorry for my late respond ( Was not in office ). Anyway I have tried all the suggested methods and non of them worked.
    I will continue digging into it and will update if I'll find something.
    Thank you very much.