Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. 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:
    611
    Fog is not required.
     
  3. DavidMiranda

    DavidMiranda

    Joined:
    Nov 30, 2012
    Posts:
    611
    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:
    455
    thanks for the answer and good to know.
     
  5. DavidMiranda

    DavidMiranda

    Joined:
    Nov 30, 2012
    Posts:
    611
    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:
    611
    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:
    611
    /Sample folder.... probably
     
  8. atomicjoe

    atomicjoe

    Joined:
    Apr 10, 2013
    Posts:
    1,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:
    611
    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:
    611
    Hello. Nope, it doesn't :/
     
  12. starfoxy

    starfoxy

    Joined:
    Apr 24, 2016
    Posts:
    173
    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:
    23
    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:
    611
    @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:
    23
    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:
    611
    Ok, no problem, lets fix this quickly. Gimme 5 minutes
     
  17. DavidMiranda

    DavidMiranda

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

    Attached Files:

    jeroll3d and Game_DevKH like this.
  18. Game_DevKH

    Game_DevKH

    Joined:
    Jun 11, 2017
    Posts:
    23
  19. mrPRAZ

    mrPRAZ

    Joined:
    Oct 10, 2013
    Posts:
    23
    Did this receive the +Spot Light functionality support? Or is this still only for Point Lights?
     
  20. DavidMiranda

    DavidMiranda

    Joined:
    Nov 30, 2012
    Posts:
    611
    Pointlights only