Search Unity

LWRP - Sprite Fog

Discussion in '2D' started by VektaCo, Sep 30, 2019.

  1. VektaCo

    VektaCo

    Joined:
    Sep 30, 2019
    Posts:
    31
  2. LiterallyJeff

    LiterallyJeff

    Joined:
    Jan 21, 2015
    Posts:
    2,807
    Last edited: Sep 30, 2019
  3. VektaCo

    VektaCo

    Joined:
    Sep 30, 2019
    Posts:
    31
    I'm not getting Fog with the new SpriteLitMasterNode @Unity for 2D sprites.
     
  4. yuanxing_cai

    yuanxing_cai

    Unity Technologies

    Joined:
    Sep 26, 2014
    Posts:
    335
    The Sprite Lit Master Node is for the 2D Renderer in Universal RP. It doesn't support fog at the moment.
     
    LiterallyJeff likes this.
  5. VektaCo

    VektaCo

    Joined:
    Sep 30, 2019
    Posts:
    31
    @yuanxing_cai Any updates on the fog support? It would be fantastic to get some simple examples into the Documentation for:

    Fog Shaders
    Additive Shaders
    Lit / Unlit / Vertex
     
  6. yuanxing_cai

    yuanxing_cai

    Unity Technologies

    Joined:
    Sep 26, 2014
    Posts:
    335
    We currently have no plan to support fog in the shaders we provide. However, the new 2D demo we just released has some custom shaders that mimic fog (for the background layer). You can check it out here: https://assetstore.unity.com/packag...-projects/lost-crypt-2d-sample-project-158673
     
  7. VektaCo

    VektaCo

    Joined:
    Sep 30, 2019
    Posts:
    31
    @yuanxing_cai it's a beautiful project. I'll see what I can pinch from it :)