Search Unity

Lighting Box 2 Next-Gen Lighting Solution

Discussion in 'Assets and Asset Store' started by UnityLighting, Jun 9, 2017.

?

Unity Version

  1. 5.4

    2.4%
  2. 5.5

    1.3%
  3. 5.6

    16.5%
  4. 2017

    79.8%
  1. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,296
    This happens when you try to import LB2 from the store:

    lb2-import-enviro.png
     
    UnityLighting likes this.
  2. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,296
    I did that in a new project. For me night still looks like this, i. e. standard skybox at night, no stars:

    envirobug.jpg
     
  3. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,296
    I was under the impression that the checkbox would activate/deactivate a feature. Apparently you have to set the skybox also to "None":

    skybox-working-setting.png

    Then it looks like this:

    skybox-working.jpg
    Problem however is now that the moon is acting like a sun with the default LB settings:

    moon.jpg

    Any ideas how to address this?
     
  4. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
  5. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
  6. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    So nothing overridden
     
  7. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
  8. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,296
    Yes, the solution is to not do what Unity suggests during the import. I still wonder though why Unity tries to change assets other than Lighting Box. Honestly I thought it would be a feature and necessity of LB2 to change files in order to work. Of course I accepted all suggested changes.

    Do you have an idea how to solve the problem with the sun and the moon? See post above.
     
  9. salhioussama012

    salhioussama012

    Joined:
    Dec 11, 2017
    Posts:
    1
    Are you arab
     
  10. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    No
     
  11. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    Wait to check it when i found some free time
     
    Rowlan likes this.
  12. witcher101

    witcher101

    Joined:
    Sep 9, 2015
    Posts:
    516
  13. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    I'm going to release this asset in asset store
    + video tutorials
     
  14. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,422
    That issue will be fixed in 2.0.2 enviro update. Both assets including the NoiseVolume.bytes file from Volumetric Lighting Open Source project. That's why unity messes up the import.
     
  15. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    Color Grading Comparison:
    None:
    o.jpg
    Mobile Lighting Box:
    m.jpg
    Lighting Box:
    p.jpg
     
    Quique-Martinez, blitzvb and Rowlan like this.
  16. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    Update 2.6 released:
    https://www.assetstore.unity3d.com/#!/content/93057
    New samples and videos will be available only in 2.6 and Unity 2017.2+ from Assets->Lighting Box Updates

    Tutorial's playlist videos with original quality uploaded into Update 2.6 updates window (Youtube videos are abit blury and has lower quality after upload)
     
    AGregori, blitzvb and Rowlan like this.
  17. Quique-Martinez

    Quique-Martinez

    Joined:
    Oct 1, 2013
    Posts:
    141
    Unity grass support....
    upload_2017-12-12_13-13-38.png
     
    Rowlan and UnityLighting like this.
  18. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    Good idea:
    Added translucency to my terrain shader + wind support (controlled from my terrain component or lighting box window)

    Webp.net-gifmaker (10).gif
     
  19. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    New exclusive Nature tutorial + Lighting Box 2.6.1 grass shader and component for LB2.6 users (2017.2 needs for download)

    photo_2017-12-12_05-36-49.jpg photo_2017-12-12_05-36-54.jpg photo_2017-12-12_05-36-57.jpg photo_2017-12-12_05-37-00.jpg
    photo_2017-12-12_05-36-49.jpg
     
    Last edited: Dec 12, 2017
    Virtuadreamer likes this.
  20. Exeneva

    Exeneva

    Joined:
    Dec 7, 2013
    Posts:
    432
    Lighting is nice, but the grass looks stiff and too much of the same spread around. Real grass looks varied.
     
    UnityLighting likes this.
  21. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
  22. xercool

    xercool

    Joined:
    Sep 5, 2017
    Posts:
    90
    Is there any complete profile preset for Enviro?
    Can anyone share this one?
     
  23. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    New grass shader (terrain grass painter) + component for 2.6.1 (will be available few hours later (~10 hrs) :

    photo_2017-12-13_14-53-29.jpg
    photo_2017-12-13_14-53-06.jpg photo_2017-12-13_14-53-13.jpg photo_2017-12-13_14-53-15.jpg photo_2017-12-13_14-53-18.jpg photo_2017-12-13_14-53-29.jpg
    photo_2017-12-13_14-53-13.jpg

    photo_2017-12-13_14-53-18.jpg
     
  24. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    Lighting Box On vs Off :



    Webp.net-gifmaker (11).gif
     
    blitzvb likes this.
  25. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    5 New video tutorials about low poly (free assets) style lighting using Lighting Box 2.6.1 in unity 2017.2+ :
    ScreenShotScreenShot22.jpg ScreenShotScreenShot26.jpg ScreenShotScreenShot13.jpg ScreenShotScreenShot17.jpg Webp.net-gifmaker (12).gif
    ScreenShotScreenShot13.jpg
    ScreenShotScreenShot26.jpg
    Webp.net-gifmaker (12).gif
     
    AGregori, buttmatrix and red2blue like this.
  26. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
  27. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
  28. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
  29. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
  30. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
  31. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,296
    I used the scene you are using and gave it life. Well, actually fiery death, but let's not be picky :D

    Lighting Box 2 is awesome. Still hoping for a moon solution in combination with Enviro :)

    unka-lb2-01.jpg unka-lb2-02.jpg unka-lb2-03.jpg unka-lb2-04.jpg
     
  32. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
  33. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    Enviro Compatible version has been uploaded into updates window:
    Assets->Lighting Box Updates
    Untitled.jpg
     
    blitzvb and Rowlan like this.
  34. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
  35. buttmatrix

    buttmatrix

    Joined:
    Mar 23, 2015
    Posts:
    609
    ^photogrammetry?
     
  36. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    Grass + Trees from standard assets
    Car and far stone (is not visible) form photogramentry
    Terrain from lighting box shader
    Grass shader from lighting box

    using better tree and grass model's i will get a lot better result

    New grass shader is really game changer I will upload more sample from this feature soon
    Now i can confirm that i have reached to UE or Frostbite Quality level and integrated all features into the lighting box
     
    Last edited: Dec 18, 2017
    Rowlan and buttmatrix like this.
  37. blitzvb

    blitzvb

    Joined:
    Mar 20, 2015
    Posts:
    284
    Is the grass shader compatible with Vegetation Studio ?
     
  38. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    I already get support from its author about integration. But currently i'm busy to learn VS workflow

    i will take a look at today
     
    Rowlan and SirTwistedStorm like this.
  39. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
  40. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
  41. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,296
    Thanks, I just tried it. This is what the scene looks at night:

    enviro.jpg

    Any suggestion what I can do to fix this?
     
  42. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    1. You must disable "Enabled" option in ambient tab
    2. Check your Lighting Settings an make sure Enviro Skybox assigned and not default skybox . and remove sun flare from Sun
     
  43. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,296
    I already did all of that. I guess then there's no way of having Lighting Box 2 support Enviro other than to code it manually myself. The Enviro/Skybox isn't an asset you can use, at least I can't find it other than in the lighting settings. And I need to know about the moon, I want the flares of course when the Sun is visible. I created 2 posts if you are interested:

    https://forum.unity.com/threads/rel...nd-weather-system.317986/page-33#post-3327255
     
  44. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    So i can remove Ambient,Sun,Global Fog,Volumetric Light,Sun Shaft from lighting box for Enviro integration compatible
     
    SirTwistedStorm likes this.
  45. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,296
    Good point. I'm hoping for @Vondox to answer. One problem is as mentioned the lens flares which I think should be handled by Enviro as well. Personally I think it might be good if you create a selection (dropdown box?) which enables / disables lb2 features and / or hides them. "Default" means all, "Enviro" disables what you posted. Just a suggestion, so that you don't have to maintain a dedicated Enviro compatible Unity package.
     
    SirTwistedStorm likes this.
  46. witcher101

    witcher101

    Joined:
    Sep 9, 2015
    Posts:
    516
    how do i disable image effects at runtime with code??
     
    Rowlan likes this.
  47. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    Code (CSharp):
    1. GameObject.FindObjectOfType<LB_LightingBox_Helper>().ToggleEffects();
     
    Rowlan likes this.
  48. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    My new experiences on UE4 and Unity:
    - Unity supports all 3d model formats (Unreal oonly supports FBX i think)
    - unity can import whole model with same structure in 3d modeling softwares(You must import each model separately and placing models again in UE4 editor - Viewport manually)
    - Unity shader compile speed is in miliseconds (Unreal Engine's shader compiler is too slow )
    - Deleting files in UE is too slow (unity is fast as OS speed )
    - you can bake in CG render quality even Emissive materials (UE don't support Emissive materials -i think )
    Unreal++:
    - You don't need import Lighting box or any post effect
    - You don't need shader editor (material editor)
    -Baking everything (normal map,tessellation ...)
    Fully realtime:


    photo_2017-12-20_07-46-36.jpg
     
    Rowlan likes this.
  49. tri-stratos

    tri-stratos

    Joined:
    Jan 29, 2013
    Posts:
    152
    Ali,

    Is this:

    part of an upcoming 2.6.1 update of lightingBox for mobiles ?

    When should we expect that ?
     
    Last edited: Dec 20, 2017
  50. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874