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

    DigitalAdam

    Joined:
    Jul 18, 2007
    Posts:
    1,202
    @LightingBox2

    Just to give a bit more info... Im using the HDRenderPipeline.
     
  2. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    volumetric lighting has not been added yet- in to the HD version
    You can add it manually
     
  3. DigitalAdam

    DigitalAdam

    Joined:
    Jul 18, 2007
    Posts:
    1,202
    How do I go about doing that?
     
  4. ghtx1138

    ghtx1138

    Joined:
    Dec 11, 2017
    Posts:
    114
    I would also like to know how to add volumetric lighting to HDRP in 2018.3
    Thanks
     
  5. ghtx1138

    ghtx1138

    Joined:
    Dec 11, 2017
    Posts:
    114
    I am getting this error: Win10, 2018.3.0f2, LB2 (downloaded today but it says updates are available), LB_HD_Pipeline_f2_2018_3, and LB_Beta3_2018.3

    NullReferenceException: Object reference not set to an instance of an object
    LB_LightingBoxHelper.Update_Ambient (System.Boolean enabled, AmbientLight ambientMode, UnityEngine.Cubemap skyCube, System.Single skyExposure, System.Single hdrRotation, UnityEngine.Color skyTint, UnityEngine.Color groundColor, System.Single tickness) (at Assets/LightingBox2/Scripts/LB_LightingBoxHelper.cs:598)
    LB_LightingBox.UpdateSettings () (at Assets/LightingBox2/Scripts/LB_LightingBox.cs:1984)
    LB_LightingBox.OnLoad () (at Assets/LightingBox2/Scripts/LB_LightingBox.cs:2153)
    LB_LightingBox.NewSceneInit () (at Assets/LightingBox2/Scripts/LB_LightingBox.cs:217)
    LB_LightingBox.OnNewSceneOpened () (at Assets/LightingBox2/Scripts/LB_LightingBox.cs:228)
    UnityEditor.EditorApplication.Internal_CallHierarchyHasChanged () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:227)

    What to do next? Thanks
     
  6. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    You can find volumetric light controller in the "Fog/Sky/HD Volume" Game Object components in your scene
     
  7. DigitalAdam

    DigitalAdam

    Joined:
    Jul 18, 2007
    Posts:
    1,202
    Hi, is that within you LightingBox2 folder (I couldn't find it there), or do I need to install that from another package?
     
  8. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Add the Grass Controls script to your terrain

     
  9. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    21121221.jpg 1313.png
     
  10. jjobby

    jjobby

    Joined:
    Nov 28, 2009
    Posts:
    160
  11. BryanO

    BryanO

    Joined:
    Jan 8, 2014
    Posts:
    186
    My Character cameras load at run time - and suggestions for this?
     
  12. UnityLighting

    UnityLighting

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

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    1. Drag your character to the scene.
    2. Apply effects.
     
  14. snoops3d

    snoops3d

    Joined:
    Oct 10, 2013
    Posts:
    24
    Hello I Just purchased lightbox 2.7 you mentioned there are several demo scenes to look at but I dont see any demo scenes in the lightbox2 folder just the following directories:
    -Docs
    -Import
    -Prefab
    -Resources
    --config
    --Lightingbox_1_profiles
    -Scripts
    -Textures
    --flares
    --Grass


    Where do I get the demo projects you mentioned?
    Thank you for your time.
     
  15. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    The demos are just for Built_In Pipeline
     
  16. sky_Mark

    sky_Mark

    Joined:
    Sep 6, 2017
    Posts:
    1
    Whether to support webgl in 2018.3?
     
  17. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Yes It works for WebGL on 2018.3+
    Watch my old video on Unity 2017
     
  18. UnityLighting

    UnityLighting

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

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
     
    ftejada likes this.
  20. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
     
    Last edited: Mar 13, 2019
  21. kaarme

    kaarme

    Joined:
    May 1, 2014
    Posts:
    177
    The lighting box tab doesn't appear at all in unity 2018.3.8f1
     
  22. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    1. HD or Built_In pipeline ?
    2. Read the Import Guide
    3. Send me screenshots from console
     
    Last edited: Mar 18, 2019
  23. ivabibliocad

    ivabibliocad

    Joined:
    Jan 11, 2014
    Posts:
    80
    Anyone any luck integrating LB to VR?
     
  24. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Lighting box 2 has been used Post Processing stack 2. So it's compatible with VR
    but some effects may not works on Single Path VR (you must use multi path wit lower performance), Depth Of Field,Volumetric Light,Global fog
     
  25. ivabibliocad

    ivabibliocad

    Joined:
    Jan 11, 2014
    Posts:
    80
    I might be doing something wrong but it's not working for me.. The only thing I have different is that I have the built-in post processing downloaded from the package manager... But aside from that I have it set as multipass, and forward as the rendering pass for the center eye camera, where I have it installed.
    I don't get this yet?...
     
  26. ivabibliocad

    ivabibliocad

    Joined:
    Jan 11, 2014
    Posts:
    80
    I recreated the project from scratch and it worked... I don't know what was wrong.. but I can confirm it works as expected with Oculus Rift!!
     
  27. johnlanz

    johnlanz

    Joined:
    Sep 2, 2016
    Posts:
    37
    hi ali. lightingbox isn't working on latest version of unity: 2019.1.2f1 hdrp. I've got namespace error:
    Code (CSharp):
    1. Assets\LightingBox2\Scripts\LB_LightingBoxHelper.cs(259,60): error CS0246: The type or namespace name 'VolumeProfile' could not be found (are you missing a using directive or an assembly reference?)
     
  28. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Only HD Pipeline version 4.x is supported (HD Pipeline version 5.x is not supported)
    Built In and Lightweight works well on 2019
     
    Last edited: Sep 11, 2019
  29. cj31387

    cj31387

    Joined:
    May 23, 2012
    Posts:
    143
    I'm getting this error when turning on screen space reflections in unity 2019.1.3f1

    "Graphics.CopyTexture can only copy between same texture format groups (d3d11 base formats: src=27 dst=9)"
     
  30. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    This error is related to Unity
    Ask the unity Post Processing Team
    ----------------------------------------------------------------
    Please support this package by writing your review :
    https://assetstore.unity.com/packag...ghting-box-2-next-gen-lighting-solution-93057
    This is very important to me

    Thank you
     
  31. MAJID_3D

    MAJID_3D

    Joined:
    Jul 4, 2018
    Posts:
    12
    My work with Lighting Box2

    Thanks for this asset

    great
    ScreenShotScreenShot31.png ScreenShotScreenShot52.png ScreenShotScreenShot17.png
     
  32. ivabibliocad

    ivabibliocad

    Joined:
    Jan 11, 2014
    Posts:
    80
    Using Unity 2018.4.0f1

    I have a PFSController big scene that has all the possible optimizations and runs at 45fps. As soon as I apply the lightbox2 to the scene the fps count drops to 2-3fps.
    So the first thing I tried was to check all the "lightweight" settings possible, change the render path to forward, and lighting set up to baked.. still nothing... Then tried every combination of effects possible with no success.. So, at last I just deleted the lightbox2 folder from project but still had the issue. Luckily for me I had a backup just from the moment before importing the lightbox2 package so I then re-tested the scene and everything was just fine again, even when importing the lightbox2 package. Then, the project messes up as soon as I add the lightbox2 tab to the scene and the post processing volume and the other stuff is created. After that, no even deleting everything regarding lightbox2 (including main folder) fix things...

    Any ideas..... I'm stuck here for several days now....
    Thanks for any help.
     
  33. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    1.what is your platform?
    2.what is your system specification?
    3.what is your unity version?
     
  34. Homicide

    Homicide

    Joined:
    Oct 11, 2012
    Posts:
    657
    Does this do real time lighting?

    Im looking for something that can bake lightmap at runtime... Or if not bake... At least look much much better than unity real time light.
     
  35. SirTwistedStorm

    SirTwistedStorm

    Joined:
    Sep 20, 2015
    Posts:
    192
    This is basic Unity lighting, and only makes viewing lighting settings / setting post process profiles easier to navigate.
     
  36. ivabibliocad

    ivabibliocad

    Joined:
    Jan 11, 2014
    Posts:
    80
    Using Unity 2018.4.0f1
    PC Build (.exe)
    64 gb Ram, Ryzen threadripper 32 cores, 24gb quadro m6000.
     
  37. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Yes you can use lighting box2 for fully realtime lighting
    But get is not possible to bake lightmap at runtime
     
  38. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    You must focus on your game optimization
    The most important part in optimization is the poly count .your poly count must be less than 1 million tri
    The lighting box optimization is maxed out
    Follow my links:

    https://forum.unity.com/threads/unity-5-2018-2019-android-performance-tips.437695/
    https://forum.unity.com/threads/hd-rp-vs-built-in-pipeline-performance-comparison.526509/page-4
    Standard pipeline is better choice in my opinion:
    https://forum.unity.com/threads/hd-rp-vs-built-in-pipeline-performance-comparison.526509/page-4
     
    Last edited: Sep 11, 2019
    salex1 likes this.
  39. MAJID_3D

    MAJID_3D

    Joined:
    Jul 4, 2018
    Posts:
    12
    My work with Lighting Box2 ScreenShotScreenShot124.png
     
  40. GalleryWhitte

    GalleryWhitte

    Joined:
    Jan 23, 2017
    Posts:
    10
    hi,
    I m using "Mobile Lighting Box" with Unity 2018.4 for my Mobile Apps, and very often I simply can t find the Lighting Box in the >Editor >Window >Tag to open and use the Window-Settings. Obviously reopen the Editor and/or boot sometimes helps (with some projects, because I can work there with the lighting box) but today I opened an older project and installed the lighting box via Asset Store - and again the the lightuing box does not apear in the Editor-Window-Links. Nothing helps.
     
  41. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    You have error on the console.
    You must fix the error first.
     
  42. SilverStorm

    SilverStorm

    Joined:
    Aug 25, 2011
    Posts:
    712
    I like the asset it organizes everything well-Unity should adopt the system to make peoples lives easier. It feels like a standard shader but for lighting.

    Just a few issues, I am very disappointed that these are still in this many years later:

    1. The undo is broken most of the time. Changes in the scene view when using Undo don't revert and show the results. The values of the sliders get undo but the result doesn't. This is a bug.

    2.Many of these changes only work in play mode is there a way to fix this so it works in scene view?

    3.If I change the values of the scene view objects they will not update in lighting box. This needs to be fixed. For example if I increase my sunlight intensity and save it gets reverted to the value in lighting box sunlight intensity. Please fix this so it doesn't matter which one is getting edited they should share the same values interchangeably.

    4.Some things i don't need like snow, color grading and translucency how to disable them?

    5.Check for update give me this error:
    Cancelling DisplayDialog because it was run from a thread that is not the main thread: Opening file failed Opening file Assets/LightingBox2/Resources/Config/LightingBox_Update_N30.txt: The process cannot access the file because it is being used by another process.

    6. Because of the Lighting box overriding all my assets now I can't have 1 Directional Light with Shadows and 1 without, it forces all Directional to have shadows how can I fix this?
     
    Last edited: Sep 4, 2019
  43. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    1. Use Refresh button on LB window

    2. It's related to the unity scene view update time(interval). It's not possible to do anything

    3. It's not possible. You can disable settings in lighting box. for example you can disable Enabled option in sun settings tab

    4. Open LB_LightingBoxHelper script and fine Update_ColorGRading function and disable its codes(add /* */)

    5. Try again ... or delete Assets/LightingBox2/Resources/Config/LightingBox_Update_N30.txt

    6. Disable scene tab Enabled option after applying your desired settings
     
  44. DigitalAdam

    DigitalAdam

    Joined:
    Jul 18, 2007
    Posts:
    1,202
    Would this asset be a good addition for development for Oculus Quest? I'm still not clear what post processing is allowed/suggested when developing for that Android based platform. Any thoughts would be greatly appreciated.
     
  45. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    No,This product is not suitable for Android
     
  46. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
  47. GlitchInTheMatrix

    GlitchInTheMatrix

    Joined:
    Apr 12, 2010
    Posts:
    285
    Great work! Somthing the community really need is a post processing that works un URP + Oculust Quest Single Pass
     
  48. UnityLighting

    UnityLighting

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

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    Thank you.
    Please post your comment on the AssetStores page
     
  50. Quast

    Quast

    Joined:
    Jul 5, 2015
    Posts:
    560
    I import the asset to my project but the materials are pinky ?
    I'm using 2019.2.17 / WRPL.