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

[SOLVED] Light-mapping and Baking *Newbie*

Discussion in 'Global Illumination' started by L2Unity, Jun 14, 2015.

  1. L2Unity

    L2Unity

    Joined:
    Dec 3, 2013
    Posts:
    5
    Following an old guide, it seems so much easier to accomplish light mapping and baking in Unity 4. Thought I did it right in Unity 5, although I tried moving away the light sources and the light disappeared from the objects. Not sure if I'm wrong here, but in theory, shouldn't there be light on the objects, even after baking... as it would create textures for it?

    Sorry if this has been answered, first time posting.
     
  2. robert-nally

    robert-nally

    Joined:
    Mar 5, 2014
    Posts:
    72
    There is an auto-bake option on the Lightmapping window in Unity 5. If you have that turned on that could be your issue. I've found that if I have that on, if I move something the program will auto rebake, as it is supposed to with that option on, and the result is that your current lightmaps go away in anticipation of the new ones (lightmaps). If this process takes a while, which it is want to do in Unity 5, then it will look like your lightmaps just dissapeared.

    Try building your lightmaps and have the auto option off. This will definitely create lightmap textures for you and they will stick around then if you want to move things around in the editor without everything turning black
     
    Haseeb_BSAA and L2Unity like this.
  3. L2Unity

    L2Unity

    Joined:
    Dec 3, 2013
    Posts:
    5
    Thank you!