aignetti
aignetti

Reputation: 491

Swift / SpriteKit: How to create a water drop effect?

i wonder how the following effect could be made in Swift (SpriteKit).

effect example image

I think about adding some ShapeNodes and fill them with the background image with -yscale 1.

But i think this effect was made somehow different, because the background image isn't just mirrored horizontally - it also has some graphics effects on it (it is mirrored in the shape the water pearl has and so on).

Was it done with a ShaderNode?

Does someone has an idea how i could create a same effect in SpriteKit - like water pearls which looks like they are on the "camera" and they mirror the background "waterpearl like"?

Thank you.

Upvotes: 8

Views: 1111

Answers (1)

shane
shane

Reputation: 342

Hmm well you could create a bunch of water images and have them displayed randomly on the screen at some z position, however I think this effect was made in another program like unity or something of the sort, Your best bet is to create transparent water droplets as images and have them displayed randomly on your screen.

Upvotes: 2

Related Questions