Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Any more information about the progressive lightmapper?

Discussion in '5.6 Beta' started by felixw2, Jan 27, 2017.

  1. felixw2

    felixw2

    Joined:
    Jan 18, 2017
    Posts:
    1
    Can we get some more information about the development of the progressive lightmapper? In september it was said to be released "soon" and now it is the end of January. Some estimated time would have been great to have.
     
    mh114, Jaimi, cakeslice and 2 others like this.
  2. cakeslice

    cakeslice

    Joined:
    Oct 18, 2014
    Posts:
    197
    Yeah I'm starting to think it's not gonna be in 5.6, and for me it's the most important new feature...
     
    Jaimi likes this.
  3. elbows

    elbows

    Joined:
    Nov 28, 2009
    Posts:
    2,502
    It is orange on the roadmap for 5.6 so I think there is a good chance it will slip to a later version.
     
  4. bluescrn

    bluescrn

    Joined:
    Feb 25, 2013
    Posts:
    642
    I'm guessing it'll become one of the main selling points of 'Unity 2017'

    Really hoping that lightprobes get some attention/testing this time (baked, diffuse-only, mobile style), after they were broken for so long following the launch of 5.0
     
  5. Lars-Steenhoff

    Lars-Steenhoff

    Joined:
    Aug 7, 2007
    Posts:
    3,527
    better not be a commercial decision, I'm confident it will come in 5.6 even when its end of february
     
  6. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,619
    The following quote is from their Subscription! Why? blog-post from June 2016.
    According to this information, I don't assume they hold the new lightmapper back for 2017. It's probably just not ready yet.
     
  7. elbows

    elbows

    Joined:
    Nov 28, 2009
    Posts:
    2,502
    Looks like it made it into beta 6, albeit with the experimental tag :) Not tried it myself yet.
     
  8. bluescrn

    bluescrn

    Joined:
    Feb 25, 2013
    Posts:
    642
    Had a very quick play with it, and it certainly looked promising.

    Only tried it in a scene made of copy+pasted cubes, so not a good stress test - but it was working well there. The big win will be getting very quick previews of light colour/intensity rather than editing blind. It's also nice to see an ETA on the bake progress bar!
     
    cakeslice likes this.
  9. cakeslice

    cakeslice

    Joined:
    Oct 18, 2014
    Posts:
    197
    YAY!
     
  10. Lars-Steenhoff

    Lars-Steenhoff

    Joined:
    Aug 7, 2007
    Posts:
    3,527
    yea thanks for this release!


    I hope undo will be integrated too, because now when I move a static object in my scene a new bake is triggered wich is normal, but if I undo this move a new bake is also triggered, and ideally it would just resume the old bake, but it starts from the begining.
     
  11. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,467
    DOUBLE YAY!!! ABOUT DAMN TIME!!!
     
  12. Kuba

    Kuba

    Moderator

    Joined:
    Jan 13, 2009
    Posts:
    416
    Yes, right now we don't use the GI cache much yet, but we will use it more going forward and that will make undo work much better.
     
  13. mh114

    mh114

    Joined:
    Nov 17, 2013
    Posts:
    295
    So, I eagerly downloaded the new beta and got testing the new lightmapper! I was trying bunch of our scenes (mobile game so fully baked stuff). While the new workflow and iteration speed is awesome, I couldn't help but notice weird artefacts in all our scenes. Basically some areas were left black, while Enlighten baked them properly (albeit very slowly). I did wait for the whole lightmap to finish, but couldn't find an obvious way to get rid of the black parts. I noticed they almost baked correctly with very low resolution settings (like 2 texels) but with proper resolutions I couldn't get rid of the black. I can post screenshots tomorrow, forgot to take any.

    So it was a bit disappointing to not get correct bakes.. On the other hand the iteration speed was really nice even on the not-too-beefy laptop I tested on.

    Anyone else get problematic areas in the bake?
     
  14. Deleted User

    Deleted User

    Guest

    Could it be that the progressive lightmapper can only be used to bake non directional lightmaps? At least it seems like i can't change to directional mode anymore...
     
  15. Kuba

    Kuba

    Moderator

    Joined:
    Jan 13, 2009
    Posts:
    416
    @mh114, is it possible that you have a lot of single-sided geometry and the parts of the geometry that turned out black were seeing a lot of backfaces?
    If so, please adjust the 'Backface Tolerance' on the LightmapSettings asset that you're using.

    If that's not it, we would really appreciate a bug report with the problematic piece of geometry and it's surroundings.
     
  16. kemalakay

    kemalakay

    Unity Technologies

    Joined:
    Jul 12, 2016
    Posts:
    224
    @mh114 With progressive lightmapper, we changed the behaviour of backfaces. Soon a two-sided flag will be added to one-sided meshes to prevent that but currently issues like black artifacts are expected. As Kuba said, you can either adjust the backface tolerance parameter or set it to zero (attaching a GIF to show how to do it). For the details of feature please see the document in our official post: https://forum.unity3d.com/threads/progressive-lightmapper-in-5-6-beta-6.454362/

    @OnatHekimoglu Directional lightmaps are not supported yet, but the feature will be added soon
     

    Attached Files:

    Last edited: Feb 2, 2017
    Deleted User and Kuba like this.
  17. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,467
    I am almost TEMPTED to download this and play with this. Baking with Enlighten has been the BANE of my development.
     
  18. mh114

    mh114

    Joined:
    Nov 17, 2013
    Posts:
    295
    @Kuba , @kemalakay Thanks for the suggestion, I will try it tomorrow when I get back to work!
     
  19. Tapgames

    Tapgames

    Joined:
    Dec 1, 2009
    Posts:
    242
    Man this light baker is awesome! It's fast, looks really good and damn I finally enjoying light baking again!
     
    Griffo likes this.
  20. mh114

    mh114

    Joined:
    Nov 17, 2013
    Posts:
    295
    Thanks again, that was the trick! I set the backface tolerance to zero, now the scenes bake nicely and very quickly, too. Awesome job on the new lightmapper! :)
     
    Griffo likes this.