Search Unity

Octane Lightmapping in Unity takes seconds, not hours

Discussion in 'General Discussion' started by sdutter, Oct 11, 2017.

  1. sdutter

    sdutter

    Joined:
    Jun 28, 2015
    Posts:
    20
    AntonioModer, Alverik, Ony and 4 others like this.
  2. sdutter

    sdutter

    Joined:
    Jun 28, 2015
    Posts:
    20
    Octane is not speeding up Unity. This completely replaces Unity's lightmapper under the hood.

    No release date has been announced. But imo it sounds like it might be available soon.
     
  3. OTOY

    OTOY

    Official Otoy Account

    Joined:
    Apr 2, 2017
    Posts:
    31
    It is glorious! And this isn't a future release, it's using the current public release that went out to everyone last week. We just need to share the sample project shown here and create more tutorials.
     
  4. Martin_H

    Martin_H

    Joined:
    Jul 11, 2015
    Posts:
    4,436
    Guess that explains why enlighten hasn't received much love in the past. Happy to see that light baking is finally done on the GPU. Looks cool!

    I didn't dare to hope they'd go this far with Octane integration, but I'm very happy they did. Good job Unity!
     
    Alverik likes this.
  5. julienkay

    julienkay

    Joined:
    Nov 12, 2013
    Posts:
    171
    And good job Otoy! ;)
     
    TerraUnity, Bloody_Alice and Martin_H like this.
  6. cyberpunk

    cyberpunk

    Joined:
    Mar 20, 2013
    Posts:
    226
    This is the best news ever.
     
  7. OTOY

    OTOY

    Official Otoy Account

    Joined:
    Apr 2, 2017
    Posts:
    31
    It's a huge win. From this foundation, so much more can now be built on top (e.g. mega-texturing, light field baking). Also Octane 3.08 is dropping very soon with OSL shaders which is also a game changer inside Unity :)
     
  8. UnityFan18

    UnityFan18

    Joined:
    Jul 4, 2016
    Posts:
    62
    Hello from a hobbyist perspective, can you guys explain what is exactly is Octane? In addition, what is the benefit for the developer of having the octane engine as opposed to what is there now? Only asking as I am not too familiar with lightmapping. Thanks in advance.
     
  9. Lars-Steenhoff

    Lars-Steenhoff

    Joined:
    Aug 7, 2007
    Posts:
    3,527
    Is this for baking maps? or also for realtime GI?
     
  10. Tiny-Tree

    Tiny-Tree

    Joined:
    Dec 26, 2012
    Posts:
    1,315
    i want my days wasted baking lightmaps back
     
  11. Migueljb

    Migueljb

    Joined:
    Feb 27, 2008
    Posts:
    562
    Wait what am I seeing?

    As a person that has been lightbaking scenes for years is the holy grail of GI baking finally at our doorstep.
     
    Ony likes this.
  12. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,205
    AlanMattano likes this.
  13. sdutter

    sdutter

    Joined:
    Jun 28, 2015
    Posts:
    20
    @Ryiah OTOY came into the thread after I posted

    The functionality is already available, just waiting on a how to from OTOY
     
    Ryiah likes this.
  14. Stardog

    Stardog

    Joined:
    Jun 28, 2010
    Posts:
    1,913
    I watched his talk at Unite and interview from a few days ago (see Unity's youtube channel) and it's exciting stuff.

    I tried their renderer inside Unity and it worked fine, but it's the lightmapper I'm interested in.

    Lightmapping is where you calculate the lighting and turn it into a texture, so your CPU/GPU doesn't have to do any work in-game. They are integrating one of their products OctaneRenderer into Unity, so we can use that to generate the lightmaps, instead of Enlighten/Progressive. Their CEO said recently that it's been about 10x faster or more than Unity's Progressive lightmapper, because it's using the GPU.

    It can also act as a general renderer, so you can render out cinema-quality images/movies with it.

    It's not for real-time gameplay. I think that will come with Brigade.
     
    Last edited: Oct 12, 2017
  15. angrypenguin

    angrypenguin

    Joined:
    Dec 29, 2011
    Posts:
    15,620
    So this already looks neat as it is.

    Is this editor only? With bakes that fast I'd love to put them at load time instead of having hundreds of extra megs of data for my players to download.
     
    TerraUnity, Martin_H and Ryiah like this.
  16. cyberpunk

    cyberpunk

    Joined:
    Mar 20, 2013
    Posts:
    226
    • Powered by up to 20 GPUs
    Challenge Accepted.
     
    IronDuke, wccrawford and Deleted User like this.
  17. QFSW

    QFSW

    Joined:
    Mar 24, 2015
    Posts:
    2,906
    Not just that, but it could also be used for procedural/user content?
     
    TerraUnity, angrypenguin and Martin_H like this.
  18. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,620
    In case anyone missed it, here is the OctaneRender interview from Unite Austin 2017.

     
    Buhlaine and ftejada like this.
  19. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,573
  20. elbows

    elbows

    Joined:
    Nov 28, 2009
    Posts:
    2,502
    So how come on the otoy forum there is a thread asking about lightmap baking release date, and someone from otoy replied saying that they are working with Unity to get some edge cases resolved, and will inform us when there is more concrete information?

    Re: Lightmap Baking release date
     
  21. derf

    derf

    Joined:
    Aug 14, 2011
    Posts:
    356
    Interesting...this comes at a great moment in time as I am looking into a couple new projects and light mapping like this makes one of those projects much less of a hassle.
     
  22. Migueljb

    Migueljb

    Joined:
    Feb 27, 2008
    Posts:
    562
    Wonder what the restrictions are for outdoor forest type scenes or big nature environments?
     
    TerraUnity and AllonVR like this.
  23. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    3,356
    I think the biggest question in most people's minds is what will it not play nice with. It's one thing to show off a simple scene. It's an entirely other case to show it working with some of the most popular assets that themselves impact or integrate with lighting in some way.
     
    daisySa, Deleted User and buttmatrix like this.
  24. Martin_H

    Martin_H

    Joined:
    Jul 11, 2015
    Posts:
    4,436
    @OTOY: do similar constraints like with blender's cycles engine apply, like the whole scene at once needing to fit into VRAM?
     
  25. Migueljb

    Migueljb

    Joined:
    Feb 27, 2008
    Posts:
    562
    Definitely a big part of working with unity for environments is using all the plugins it takes to make unity look good. Does it work with RTP for terrains or any other terrain plugin. Does it work with speed trees or unity tree creator trees and how does it look with the terrain engine etc. So many questions and eventually hopefully soon we get answers and some real world examples of all this goodness working with all the things that make unity.
     
    AllonVR likes this.
  26. buttmatrix

    buttmatrix

    Joined:
    Mar 23, 2015
    Posts:
    609
    this x 1000. I've already posted several times to the Otoy forum that @elbows linked to asking this very question:

    "Is it confirmed whether Octane lightmap baking will support all Unity light types, including emissive materials and IBL (cubemap), for the initial release?"

    From what I can tell, the plugin is compatible with standard shader.
     
  27. UnityFan18

    UnityFan18

    Joined:
    Jul 4, 2016
    Posts:
    62
    Thank you for taking the time to explain this. Appreciate it :)
     
  28. pakagames

    pakagames

    Joined:
    Nov 25, 2016
    Posts:
    1
    It all sounds great.. but, it's not working for me. Unity 2017.2 - ORBX files from Otoy's Asset store demos are not loading at all. Octane freezes Unity.
     
  29. AlanMattano

    AlanMattano

    Joined:
    Aug 22, 2013
    Posts:
    1,501
    @OTOY I wish one day renders my game in real-time. Is OTOY will same day make at least the lightmapping with the Octane engine?
     
  30. AlanMattano

    AlanMattano

    Joined:
    Aug 22, 2013
    Posts:
    1,501
    Looks like now OTOY Octane Render includes: Real-time Render and... Lightmapping !!

    ...WOW...yes I miss that...



    Probably in 5~10yr the GPU tech will render this in real-time 60fps.
     
    Last edited: Oct 13, 2017
  31. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,875
    Any news about release date ?
     
  32. AndersMalmgren

    AndersMalmgren

    Joined:
    Aug 31, 2014
    Posts:
    5,358
    Any visual comparison between octane and enlighten released?
     
  33. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,875
     
    AntonioModer, mysticfall and Martin_H like this.
  34. AndersMalmgren

    AndersMalmgren

    Joined:
    Aug 31, 2014
    Posts:
    5,358
    I hope that the last pic is after just one pass and you can get it better? :D
     
  35. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,573
    The last picture looks a lot like what you'd get in blender. Except the white glowing outline, of course.

    Hopefully this doesn't come with its own version of "how do I get rid of fireflies?" problem.
     
    Last edited: Oct 16, 2017
    Martin_H likes this.
  36. zenGarden

    zenGarden

    Joined:
    Mar 30, 2013
    Posts:
    4,538
    Will it take years to get good results ? Enlighten has taken lot of time to maturate or bring mixed mode.
     
  37. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,875
    It's obvious that PLM quality is the best one in all lightmappers
    But octane should be good if has some features :
    1. Faster bake time
    2. Less RAM usage
    3 . Transparented (or glass) materials support
    4. Normal map baking features
     
  38. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,875
    fireflies are noises during render
     
  39. QFSW

    QFSW

    Joined:
    Mar 24, 2015
    Posts:
    2,906
    Fairly certain he knows what noise is
     
    N00MKRAD, wccrawford, Ryiah and 3 others like this.
  40. buttmatrix

    buttmatrix

    Joined:
    Mar 23, 2015
    Posts:
    609
    @aliyeredon2 just to be clear, the Octane comparison image you posted was *not* from within Unity, correct?
     
    QFSW likes this.
  41. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,875
    Inside unity but from Octane Viewport
     
    buttmatrix likes this.
  42. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    What about distributed rendering e.g. cloud based GPU's or for indies shared gpu's where we could allow others to use our GPU when they are not busy and build up 'photon/ray credits' for when we need them (via our Unity account).
     
  43. Deleted User

    Deleted User

    Guest

    Aye, I'm not really sure what that pic is supposed to tell us.. It's either a lack of samples or it hasn't hit it's converge threshold yet.. You get these artifacts in just about every external lighting solution available when it hasn't finished its render..
     
    angrypenguin likes this.
  44. angrypenguin

    angrypenguin

    Joined:
    Dec 29, 2011
    Posts:
    15,620
    Yeah... and while probably not appropriate for real-time usage, I would also have thought that if you're using it for a bake you could run some filter over it to clean it up with pretty good results. All of the "fireflies" there are smaller than a pixel in a typical light bake, and the desired results are mostly broad gradients which could eat up that kind of noise pretty easily.

    I'm no expert there, though. Could be wrong.
     
    Martin_H likes this.
  45. Lars-Steenhoff

    Lars-Steenhoff

    Joined:
    Aug 7, 2007
    Posts:
    3,527
    If you looked at the first post you would see that is filtering just fine.

    this comarison is not accurate

    its looking very promising
     

    Attached Files:

    Martin_H likes this.
  46. Stardog

    Stardog

    Joined:
    Jun 28, 2010
    Posts:
    1,913
    I don't get it either. They are all unfinished/low setting renders apart from the UE one. The Beast one doesn't even look like GI was setup properly. Surely Beast wasn't that bad, but it was stuck in Gamma color space.
     
    Last edited: Oct 17, 2017
    Martin_H and Deleted User like this.
  47. buttmatrix

    buttmatrix

    Joined:
    Mar 23, 2015
    Posts:
    609
    It doesn't really matter. The example images are captured from within the Octane viewport, not lightmaps. I think what most people care about on this thread is the fidelity of the resulting lightmaps and how to bake them.
     
    angrypenguin likes this.
  48. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,573
    Judging a screenshot by a photograph of a display is a bad idea.
     
  49. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,875
    I already worked too long time with most renderers. So all settings are in the best state. But i didn't had much free time to wait for reduce all noises.I speaking about GI maximum distance quality (Indirect Shadows) and not about noise
    UE is better because used Tonemapping to fix its stuck near the light source
    https://forum.unity.com/threads/pro...ghten-vs-lightmass.454229/page-3#post-3138865
     
  50. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,875
    Octane with tone mapper

    Untitled.jpg