- Home /
Partially recolor 2D sprites on either side of a line
Hello! I'm still learning Unity, so apologies if this is in the wrong place or an easy question.
I have a 2D scene consisting of flatly colored square sprites. I would like to have a screen wipe effect, where the sprites are a different color on either side of the wipe. Can someone point me in the right direction for how to do this? Do I need to learn shaders?
Visual example of what I want.
-The sprites are white and colored via the Sprite Renderer.
am using the URP, so no projector object. If I have to switch back to built in I will, but I want that to be the last resort.
-optimally, I would be able to make the border squiggly, a circle, etc.
Thanks!
Your answer
Follow this Question
Related Questions
Make the cube have the same color as the background every 3 seconds 0 Answers
How can I mix colors from a given array of colors ? 1 Answer
Quad Gradual Colour Change 1 Answer
Instantiating multiple sprites and assigning different colors for each 1 Answer
Array of colors not working, all sprites turn white. 1 Answer