Search Unity

Question Distortion/Ripple effect for sprites

Discussion in 'Shader Graph' started by Expsy, Dec 17, 2019.

  1. Expsy

    Expsy

    Joined:
    Nov 4, 2016
    Posts:
    5
    According to this unity tutorial "
    " I've used "Scene Color" node but it doesn't effect sprites that are using "Sprite Lit Master Node." There is a work around which is making the master node a "PBR Master Node" and making it opaque from its preferences but in order to do that I need to remove my 2D renderer from my pipeline. I'm using 2D light for my project so I can't remove 2D Renderer. Do you have any suggestions? Is there any alternative node to "Scene Color"?

    The bright area is where my distortion shader effects and that square is a 3D cube, everything else is a sprite.



    This is the effect that I'm trying to achive (2nd one),

    https://twitter.com/antonkudin/status/925387429762215937
     
  2. lalcocer

    lalcocer

    Joined:
    Sep 24, 2019
    Posts:
    1
    Hi, I'm using LWRP and having same issue, did you solve it?
     
  3. Expsy

    Expsy

    Joined:
    Nov 4, 2016
    Posts:
    5
    Unfortunately no.
     
  4. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,822
    I'll circulate this with the team and see if we can find a solution for you guys.
     
    lalcocer likes this.
  5. Aurora-X

    Aurora-X

    Joined:
    Jun 28, 2016
    Posts:
    1
    Did anyone find a solution for this? I'm running into this same issue.
     
  6. Inspekt

    Inspekt

    Joined:
    Aug 11, 2015
    Posts:
    4
    GrabPass worked just perfectly for us with Built-In Rendering Pipeline. But now we use LWRP and faced on with the same problem. _OpaqueCameraTexture is grabbing only geometry, but not sprites. What should we do with it? I wasn't able to find any information about this problem.
     
  7. Ramezov

    Ramezov

    Joined:
    May 2, 2017
    Posts:
    25
    I found solution for this and did tutorial few months ago:
     
  8. lyons5609

    lyons5609

    Joined:
    Jun 20, 2017
    Posts:
    1
    Any solution for this? I still cant find a way to use the scene color node without disabling our 2D lights.
     
  9. Lo-renzo

    Lo-renzo

    Joined:
    Apr 8, 2018
    Posts:
    1,514
  10. hutchid6

    hutchid6

    Joined:
    Feb 12, 2019
    Posts:
    2
    _CameraSortingLayerTexture was exactly what I needed! It's the replacement for the scene color for the 2D Renderer. Thanks so much I couldnt find this info anywhere!