Is it possible to do this with shader?

Hello, everyone!
I wonder if this gif effect can be achieved through the shader. Please tell me some ways. Thanks!
8243448--1078260--o.gif

everything* is possible with shaders :slight_smile: if you look shadertoy.com for examples…

where is that sample image/effect coming from?

I don’t know where it came from. It was sent to me by my friend.
It’s a great website. Maybe I can get some help from it. Thank you, mgear

attached simple test shader to play with, just scrolling pixels down based on color.

not the same effect, but maybe could add mask texture or more complicated math to make it closer, also note that texture import setting wrap mode is set to clamp. (so it doesnt repeat at top)
8246328--1078914--shadergif.gif

also could use this instead

scrolling example,

8246328–1078911–scrollpixels.shader (1.48 KB)

1 Like

Isn’t the effect seen in the GIF called pixel sorting?

Here’s something - potentially - interesting:

2 Likes

This looks really cool. Now it’s my turn to learn it. Thank you so much!

It looks like this thing. Thank you for your guidance!