Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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. Migueljb

    Migueljb

    Joined:
    Feb 27, 2008
    Posts:
    562
    Trying out another one of my levels with the UE4 latest preset. Here's the video.
     
    coverpage likes this.
  2. witcher101

    witcher101

    Joined:
    Sep 9, 2015
    Posts:
    516
    wow can you tell wat assest you used and that firefly particle system
     
  3. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Android doesn't support Post Processing Stack. But I heard that iOS doesn't has any problem with Post Stack
    Lighting Box has been used Post Processing Stack for its post processing

    You can try Post Processing Stack on your phone before lighting box
     
  4. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    After update 1.4, i will upgrade LightingBox into the Post Stack 2
     
  5. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    i don't have any VR device or experience
    LightingBox used Post Processing Stack as its post processing. You can try Post Stack effects on your device :

    AO-Temporal AA-Bloom-Color Grading-Eye Adaptation-Vignette-Chromatic-DOF

    + unity standard assets Global Fog image effect

    + True volumetric Light asset (on Git-hub)
     
  6. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Thank you for sharing this amazing scene.

    I plan to add the autumn and spring scenes to my samples list
     
  7. Vidalicious

    Vidalicious

    Joined:
    Aug 30, 2017
    Posts:
    17
    Hi :)
    My Lighting Box window isn't responsive, it is cropped horizontally and vertically (I can't scroll), even if I maximize it size. What can I do to avoid this?
    I'm using Unity 2017.1.0f3 on Mac and the latest version of your Lighting Box.

    Thank you in advance!
     

    Attached Files:

  8. Migueljb

    Migueljb

    Joined:
    Feb 27, 2008
    Posts:
    562
    It's a unity particle system using a single texture of a dandelion that gets blown around in the wind.

    Hey aliyerdon if I get time this weekend I'll make a couple more videos for you to have for a sample list as well.
     
    UnityLighting likes this.
  9. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    First try resetting editor layout (top-right)
    If it doesn't work, i will add an horizontal scroll bar in the next update
     
  10. jackmememe

    jackmememe

    Joined:
    Jan 21, 2016
    Posts:
    138
    Has anyone tried using Lighting Box with Uber shaders? I want to know if it is possible and if generate any good results.
     
  11. Migueljb

    Migueljb

    Joined:
    Feb 27, 2008
    Posts:
    562
    I have all the VR headsets and for mobile really only plan on using this.

    Mobile VR I have the samsung gear vr and the samsung s8. First of course bake all lighting down and use blob shadows on characters. Just use amplify color like in aliyeredons examples for mobile and if your lucky based on your scene you can use MSAA default in unity quality settings to 2x or 4x.

    For oculus and vive right now I would only use this in the current post processing stacks. Use Bloom, AA, Color grading and eye adaption. Then just bake all your lighting down. Anything after this and things start to not run so well but of course it's based on your scene as well.

    This is all based on using multi pass stereo rendering in player settings. If anyone has tried out using single pass with any of these headsets be worth hearing how it's working out there as well.
     
    UnityLighting likes this.
  12. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
  13. bblakesley

    bblakesley

    Joined:
    Apr 7, 2012
    Posts:
    4
    Having this problem as well. Resetting the layout doesn't work. The isolated Lighting Box window already has the problem before docking - the text isn't centered and runs off the right side.
     
  14. OP3NGL

    OP3NGL

    Joined:
    Dec 10, 2013
    Posts:
    267
  15. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
  16. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    I will fix this issue in the next update
     
    Vidalicious likes this.
  17. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Finally i could fix the terrain tessellation shader problems

    1. Unity terrain system has different tiling logic (!!!)
    2. Unity terrain system has own LOD system that will automatically reducing tessellation amount(!!!)
    3. Add Pass shader has 2x more performance cost (i think)

    Solutions :
    1. I have used scripting to control layers and shader properties (as all unity terrain toolkits has been used script).
    2. You need to paint a bit heights to fix this issue (only flat surfaces has lower tessellation, it"s OK)
    3. I have used single shader for all layers (currently 4 layers, i will add 8 layers support)

    In below screenshots i have used some LAM terrain texture
    photo_2017-08-31_02-23-07.jpg photo_2017-08-31_02-23-13.jpg photo_2017-08-31_02-23-15.jpg photo_2017-08-31_02-23-17.jpg

    photo_2017-08-31_02-23-18.jpg
     
    coverpage likes this.
  18. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Gif comparison :
    Webp.net-gifmaker (77).gif
    a.jpg
     
    ftejada and coverpage like this.
  19. assetstoreoffers

    assetstoreoffers

    Joined:
    Aug 30, 2017
    Posts:
    14
  20. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
  21. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
  22. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Has been made using textures (+LightingBox shader)
    photo_2017-08-31_10-14-55.jpg photo_2017-08-31_10-15-00.jpg photo_2017-08-31_10-15-02.jpg photo_2017-08-31_10-15-04.jpg photo_2017-08-31_10-15-05.jpg
    photo_2017-08-31_10-15-00.jpg
    photo_2017-08-31_10-15-05.jpg
     
    ftejada and Virtuadreamer like this.
  23. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Gif Comparisons :
    Webp.net-gifmaker (78).gif Webp.net-gifmaker (79).gif
     
    Virtuadreamer and pushingpandas like this.
  24. pushingpandas

    pushingpandas

    Joined:
    Jan 12, 2013
    Posts:
    1,419
    Where can I buy the pro version?

    New* in Pro Version :
    - Volumetric Fog
    - Fixed lots of bugs
    - Added more features and videos
    - Destruction sample
    - In-Game settings menu similar to AAA games



    And when does 1.4 coming out?
     
  25. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    LightingBox1.3 is the latest version

    update 1.4 will be available tomorrow (will takes a few days to be available, you can send me pm to get download link before release )
     
    pushingpandas likes this.
  26. pushingpandas

    pushingpandas

    Joined:
    Jan 12, 2013
    Posts:
    1,419
    ok thank you I just sended you email with my purchase bill.
     
    UnityLighting likes this.
  27. Migueljb

    Migueljb

    Joined:
    Feb 27, 2008
    Posts:
    562
    This level is using the Unity to LightingBox preset. I think so far the UE4 default and this one really can make just about any level look amazing. I like to tweak stuff but these presets don't need much tweaking really I'm just picky about certain things:)

    There's alot going on in this level and unity's handling it all like a champ very cool.

     
    Last edited: Aug 31, 2017
  28. Exeneva

    Exeneva

    Joined:
    Dec 7, 2013
    Posts:
    432
    Besides LightingBox, what other assets did you use in that scene?
     
  29. JereHeikura

    JereHeikura

    Joined:
    May 3, 2016
    Posts:
    5
    Hi Aliyeredon!

    I've been using Lighting Box for about a week now, and I must say I'm impressed what you've been capable to do for the lighting in Unity.

    However, I'm having this problem, that the Volumetric Light is not showing up in the build. I've tried to play around with the graphics and player settings, and tried to force the shader to be included in the build, with no success- There's no error and the effect is working just fine in editor.

    I hope you can guide me how to fix this issue.

    EDIT:
    Using Unity version 5.6.1
    Real time lighting
    DX11

    EDITOR
    upload_2017-9-1_9-29-37.png

    BUILD
    upload_2017-9-1_9-30-22.png
     
  30. JereHeikura

    JereHeikura

    Joined:
    May 3, 2016
    Posts:
    5
    SOLVED: Instead of just forcing the VolumetricLight shader, there was a total of 4 shaders that had to be always included. Hope this helps if someone else encounters this problem.

    upload_2017-9-1_9-59-45.png
     
    ftejada and UnityLighting like this.
  31. Invasion_Fields

    Invasion_Fields

    Joined:
    Dec 21, 2016
    Posts:
    1
  32. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    I have used distance based fade mode

    1. Edit shader settings (material)
    2. Watch particle shader videos from lighting box 1.2 doc files
     
  33. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Final look of my shader. Currently support 6 layers (performance and ease of the use limitations)
    photo_2017-09-01_10-55-35.jpg
    photo_2017-09-01_10-55-33.jpg
    photo_2017-09-01_06-30-39.jpg photo_2017-09-01_10-55-31.jpg photo_2017-09-01_10-55-33.jpg photo_2017-09-01_10-55-35.jpg
     
    ftejada and antoripa like this.
  34. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Just use Amplify Shader Editor instead.

    you can create tessellated or POM shaders with better performance, compability and customized for your needs
     
    antoripa likes this.
  35. Migueljb

    Migueljb

    Joined:
    Feb 27, 2008
    Posts:
    562
    Can you get DOF working how there doing it in UE4 in this video. Can't seem to get that working in unity how there doing it here.
     
  36. RemitPrime

    RemitPrime

    Joined:
    Apr 20, 2016
    Posts:
    23
    So i got a strange problem with it , when i go away from buildings their brightness level is changing

    like that
    http://prntscr.com/gfxf4c
    when i go near there is no problem

    how can i disable this effect ?
     
  37. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Select post processing profile and disable Eye-Adaptation effect from list
     
  38. RemitPrime

    RemitPrime

    Joined:
    Apr 20, 2016
    Posts:
    23
    Tried , not working still same i cant see inside of buildings from distance.


    also there is no problem on play mode it happens when i build my game
     
    Last edited: Sep 1, 2017
  39. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Send me screenshot

    -------------------------------------------------------------------------

     
  40. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    GIF comparisons (I'm going to release terrain shader as update 1.3.2 before start working on 1.4) :
    Webp.net-gifmaker (80).gif
    Webp.net-gifmaker (81).gif
     
    ftejada, antoripa and coverpage like this.
  41. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Using Terrain To Mesh you can convert your terrain into a actual mesh
    (+++)
    - Better performance (up to 2x)
    - Fix the tessellation collision problem (maybe)

    (---)
    - You cannot use unity terrain foliage system
    - You cannot modify terrain easily (you can use EditorSculpt asset from asset store - free)


    Webp.net-gifmaker (82).gif
     
    ftejada and coverpage like this.
  42. Neo-Gamefactory

    Neo-Gamefactory

    Joined:
    Oct 18, 2012
    Posts:
    145
    Is this only for DX11 (Windows) or works all of this features also on MacOS and Linux?

    What is with Mobile? :)

    By the way, great work. Found your Youtube Channel ;)
     
  43. TOMMY-TANG-86

    TOMMY-TANG-86

    Joined:
    Jul 27, 2017
    Posts:
    1
    Ask a question
    After I downloaded
    Game bulid, the screen is not full after opening. How do you solve this
     
  44. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Change screen resolution based on your monitor aspect ratio
     
  45. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866

    DX11 and GL Core needed for Tessellation support

    Mobile is not supported
     
    Last edited: Sep 2, 2017
  46. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Textures from www.textures.com (and LAM)
    LightingBox terrain shader
    Standard assets tree
    Models from sketchfab
    photo_2017-09-02_08-56-50.jpg photo_2017-09-02_08-56-59.jpg photo_2017-09-02_08-57-08.jpg photo_2017-09-02_08-57-18.jpg photo_2017-09-02_08-57-22.jpg
    photo_2017-09-02_08-56-59.jpg
    photo_2017-09-02_08-57-22.jpg
     
    Last edited: Sep 3, 2017
    ftejada, Gametyme, antoripa and 2 others like this.
  47. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
  48. Exeneva

    Exeneva

    Joined:
    Dec 7, 2013
    Posts:
    432
    When you post pictures can you share what assets were used?
     
  49. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    OK
    Updated
     
    Last edited: Sep 3, 2017
    antoripa likes this.
  50. coverpage

    coverpage

    Joined:
    Mar 3, 2016
    Posts:
    385
    Great work @aliyeredon2 . It's becoming a toolkit for realistic computer graphics.

    Can't wait to try your shader. And at USD10 it's so much for so little.
     
    UnityLighting likes this.