Distortion/Ripple effect for sprites

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),

Hi, I’m using LWRP and having same issue, did you solve it?

Unfortunately no.

I’ll circulate this with the team and see if we can find a solution for you guys.

1 Like

Did anyone find a solution for this? I’m running into this same issue.

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.

I found solution for this and did tutorial few months ago:

1 Like

Any solution for this? I still cant find a way to use the scene color node without disabling our 2D lights.

For the 2D Renderer, check out _CameraSortingLayerTexture .

There’s a demo in here: https://github.com/Unity-Technologies/2d-renderer-samples/tree/21.1

_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!