- Home /
The question is answered, right answer was accepted
How can I do such as that effect for my water sprite in Unity?
https://drive.google.com/file/d/1H8q9c5CdZY0oLFxJFc-VnUizUHf5rlhc/view?usp=sharing
Sorry for link, Unity Answers don't want to upload .gif with error of parsing :]
I'm not sure what you want exactly. From what I can see, that is a sprite based animation isn't it? Do you wish to know how to do 2d sprite animations?
I know how to use it, but i want that sprite to be static or smth, I tried this with Sprite $$anonymous$$ask and tiles, but if there is another solution besides Sprite $$anonymous$$ask with tiles and hand drawing animation?
everything can be don using shaders, but i cant see a reason for doing this, why you use a sprite mask? that gif is just an animation,
Answer by bpaynom · Jul 09, 2019 at 03:23 PM
UnityVersions Go to the version you're working on, and on the dropdown select the Built In Shaders option. You can then replicate the Offset parameter from Default diffusse shader and put it into a copy of the default sprite shader. The trick is to change that offset everyframe.
Follow this Question
Related Questions
Subnautica like underwater effect / rays 0 Answers
My water prefab appears strange from below 0 Answers
Terraria lighting 1 Answer
Water effect 0 Answers
shuriken not showing against water shader background 2 Answers