Hello,
i am making a FPS and i want to create a water drops image effect, like in Metro LL.
How could i script this?
Thanks in advance!
Hello,
i am making a FPS and i want to create a water drops image effect, like in Metro LL.
How could i script this?
Thanks in advance!
You can use a GUITexture. Or a 2D Image Sprite as a child to the camera object, really small and close to the camera, and just change the opacity.
Look at the unisky asset in the assetstore it has dynamic rain drops on the camera.
Check out how they did it.
(it is ofc a paid asset)
What they did in Metro LL is they had a plane really close the the camera and with a low render queue (low rq = rendered first), which acted as a surface for the drops. These drops are then rendered with a special shader, a shader that basically does all the hard work. It makes the droplets look 3d, refracts the world in them, etc. You can either write your own shader to do this, or look at the Pro Standard Assets’ FX/Glass/Stained BumpDistort shader in which each drop is a point on the texture. Once you have this setup, you can move on to the second part, making them animated.
If anything from this was unclear, feel free to comment and I’ll try to clarify it further.
–David–
Did you ever figure out how to do your water effect?
I’m also looking into this and trying to do a similar effect, but for a mobile game.