This project started with me working on my own little RPG project. I was struck with the idea of recreating the backgrounds from one of my favorite games, Earthbound, for the battle screens and started investigating.
Show full description...
After a little bit of reading and googling I found that there were some resources for this, but a lot of them lacked the information needed for implementing this in Unity on your own. Which is what I kinda wanted to figure out. And so I began working on a solution.
This solution uses Unity shaders, mostly made with shadergraph, and one borrowed from some very helpful online resources. (Credit to: https://unitycoder.com/blog/2020/03/18/shader-color-cycling/ for providing a free palette cycling shader.) ( Backup Github link. )
In turn, I provide these here for free to allow people feedback on what I was unable to solve, namely the horizontal and vertical oscillation or stretching that the original games backgrounds have, and improve on them in turn.
IMPORTANT:
For the color cycling shader you need to have a grayscale version of the background that you are trying to animate. This can be tricky to do, and doesn't always work as expected with the texture you are trying to play around with. (Feel free to improve.)
Likewise, this asset was created and tested with the backgrounds from Earthbound. I can't distribute those, but you can find them here: https://handbook.fangamer.com/mother2/battlebackgrounds/