Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Foggy Lights

Discussion in 'Assets and Asset Store' started by DavidMiranda, Apr 8, 2014.

  1. hilllo

    hilllo

    Joined:
    May 27, 2016
    Posts:
    2
    I totally have the same issue. Please fix it :)
     
  2. DavidMiranda

    DavidMiranda

    Joined:
    Nov 30, 2012
    Posts:
    576
    Fog is not required.
     
  3. DavidMiranda

    DavidMiranda

    Joined:
    Nov 30, 2012
    Posts:
    576
    Humm, weird. Ive been testing a prefab and the material is correctly created. The other problem about lightmapped levels... I don't see the relation between lightmaps and foggy lights. Works perfect for me.

    Anyhow, I will upload what I currently have, maybe I made changes months ago and never uploaded it.

    2016-11-10_10-39-35.jpg

    Be sure to use the latest version (1.6)
     
  4. SpaceRay

    SpaceRay

    Joined:
    Feb 26, 2014
    Posts:
    424
    thanks for the answer and good to know.
     
  5. DavidMiranda

    DavidMiranda

    Joined:
    Nov 30, 2012
    Posts:
    576
    Make sure that your camera is generating the depth texture. I think I included a script called "EnableDepthInForwardCamera", or something like that
     
  6. DavidMiranda

    DavidMiranda

    Joined:
    Nov 30, 2012
    Posts:
    576
    Have you tried my demo scene first?
    The only param you have to tweak for this is the offset.
     
  7. DavidMiranda

    DavidMiranda

    Joined:
    Nov 30, 2012
    Posts:
    576
    /Sample folder.... probably
     
  8. atomicjoe

    atomicjoe

    Joined:
    Apr 10, 2013
    Posts:
    865
    Hi!
    Is this asset still supported and working on Unity 2018.2 ?
    It would be for Android.
    Thanks.
     
  9. DavidMiranda

    DavidMiranda

    Joined:
    Nov 30, 2012
    Posts:
    576
    Hello. Yes, it will throw 3 warnings, but it works. Im going to upload an update right now.
     
  10. Coryatmarsden

    Coryatmarsden

    Joined:
    May 22, 2018
    Posts:
    7
    Hello! I would like to use this for a camera that switches between orthographic and perspective mode. Is that possible?
    Thanks!
     
  11. DavidMiranda

    DavidMiranda

    Joined:
    Nov 30, 2012
    Posts:
    576
    Hello. Nope, it doesn't :/
     
  12. starfoxy

    starfoxy

    Joined:
    Apr 24, 2016
    Posts:
    80
    Would like to purchase but wondering if this asset is still supported into Unity 2019?
     
  13. Game_DevKH

    Game_DevKH

    Joined:
    Jun 11, 2017
    Posts:
    22
    I just bought Foggy Lights and got so many errors in Unity 2019.2.20f1.. can't play my scene now ;-(


    Standard pipeline


    What should I do?
     
  14. DavidMiranda

    DavidMiranda

    Joined:
    Nov 30, 2012
    Posts:
    576
    @starfoxy @Game_DevKH
    Hi there,
    Yes, it is working fine in 2019. Please note that this was made years ago before SRP. So it will not work with SRP 2020-02-24 19_03_04-Clipboard.jpg 2020-02-24 19_00_39-Clipboard.jpg
     
  15. Game_DevKH

    Game_DevKH

    Joined:
    Jun 11, 2017
    Posts:
    22
    I use forward rendering. I imported into empty project it worked fine. But when I imported the Fog Volume 3 next it showed this errors and ca't play the scene. It appeared to conflict with your own asset.

    Are you there? I might need this urgently if you can have quick fix for this
     

    Attached Files:

    Last edited: Feb 24, 2020
  16. DavidMiranda

    DavidMiranda

    Joined:
    Nov 30, 2012
    Posts:
    576
    Ok, no problem, lets fix this quickly. Gimme 5 minutes
     
  17. DavidMiranda

    DavidMiranda

    Joined:
    Nov 30, 2012
    Posts:
    576
    Replace this in Assets/FoggyLights
     

    Attached Files:

    Game_DevKH likes this.
  18. Game_DevKH

    Game_DevKH

    Joined:
    Jun 11, 2017
    Posts:
    22
unityunity