Search Unity

Lightmap Baking taking too long around 4-5 hours.

Discussion in 'Global Illumination' started by Jc_IND, Oct 19, 2019.

  1. Jc_IND

    Jc_IND

    Joined:
    Jun 23, 2014
    Posts:
    1
    Hey, Whenever I am trying to bake my lightmap, it is taking at least 4-5 hours. I am attaching my Lighting Inspector, I have around 10-15 point lights. Any help or suggestions?? Is this normal? Even when I have baked the lightmap and I make some minor changes to the scene. It's still taking 4-5 hours to bake the lights again.
    Thanks Lighting_2.png Lighting_1.png
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,795
    4-5 hours is not that bad. Reduce resolution from 40 to something like 10.
     
    A_Marraff likes this.
  3. FiveFingerStudios

    FiveFingerStudios

    Joined:
    Apr 22, 2016
    Posts:
    510
    4-5 hours sounds like a very long time.

    I can bake 10-15 scenes in that time.

    A few things that will speed up you bake times significantly.

    1. Get your lightmaps as small as possible while still maintaining the look you are going for. This will get them to fit on less textures, and speed it up.

    2. Eliminate meshes from your bake that no one will every see.

    2. if a mesh is in either all light or all shadow, reduce the lightmap scale for that mesh.

    Doing those things will help speed things up and you can have better quality light maps since you put the texels to work where they have the greatest impact.
     
    A_Marraff likes this.