Is there a way to apply an effect to everything behind the sprite? (tex2Dproj)
Veritas last edited by
I'm looking to make a sprite that behaves like water that uses the distortion UV node to distort everything behind it. So far I can sample the screen as a texture and distort that, but is there a way I can distort and apply the texture underneath the sprite?
Vetasoft last edited by Vetasoft
With Grabpass and Grabpass UV
Grabpass will use the background as a texture, Grabpass UV will use the right UV from the background texture
make sure that the sorting layer is above all the other sprite.
if you want the effect to be under the character, for example, simple use the right sorting layer
Hope it's help