I’m currently trying to make it so that my sprite that I drew in piskel (full cave, 2dsidescroller), has a moving rainbow texture because of nausea in the game. The problem I have is that rather than the opaque areas of the cave png becoming a moving rainbow material like I made it, only the png parts are becoming the moving rainbow. so basically the background behind the character rather than the walls. I tried using OneMinus node but it just removes the material completely. The walls don’t change color. Here’s a picture of the code.
What I want is for the walls to become the rainbow rather than the background.
Keep in mind the objects you see like the icicles, plants, and nuclear crates aren’t a part of the cave png, they’re separate sprites. So are the rocks in the background - all separate sprites other than the cave. The cave is just in front of them on the y axis, that’s why the rainbow covers them.
What I want is for the rainbow to go over the opaque areas, not the transparent ones (the insides of the cave).
Thank you for responding though, I know you’re probably really busy.