Way to screen wrap particles 2D?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By godot frajer

Any way to create screen wrap effect with particles 2D (with global coordinates) so that each particle moves to the opposite end of screen as it reaches the edge of camera?
Or is there any better way to achieve “world particles” in an infinite top-down scrolling 2D game?
All answers appreciated.

This video can help you https://youtu.be/9RRoKKQ7nF0 (particle shader part , minute 10)

horsecar123 | 2022-03-12 16:56

This is indeed very helpful. Thanks, I’ll post an answer if I manage to get it work somehow

godot frajer | 2022-03-12 17:05