Browsing Tag



Rain‘ simulates the raindrops on the screen. You can also simulate liquids such as blood, oil, etc.



Once installed, select the camera of the scene and add the component ‘Rain‘.

When you add it you will see something like:

With ‘Strength‘ (1) you can select the strength of the effect.

Within ‘Droplets’ you can configure some parameters of the drops on the screen:

2. Rain amount [0, 1]. Default 0.5.
3. Droplet size [0.1, 2]. Default 1.
4. Droplet speed [0.0, …]. Default 0.25.
5. Droplet distortion [0, 1]. Default 0.5.

In ‘Layers’ you can configure the three layers that have the effect:

6. Intensity of the layer of drops that do not move [0, 1]. Default 1.
7. Intensity of the first layer of drops move [0, 1]. Default 1.
8. Intensity of the second layer of drops move faster [0, 1]. Default 1.

Activate ‘Color’ (9) to modify the following color parameters:

10. Screen ambient color. Alpha controls the intensity.
11. Droplets color blend operation. Default ‘Solid’.
12. Droplet color.
13. Enable droplet trails.

Finally by clicking on ‘[doc]’ (14) opens the online documentation, and clicking on ‘Reset’ (15) reset to defaults values.


All code is inside the namespace ‘Ibuprogames.RainAsset‘ and main component is ‘Rain‘. So if you want to use it you must first import its namespace:

using Ibuprogames.RainAsset;

If ‘myCamera‘ is a valid camera and you want to add the effect, you should do something like:

Rain rain = mycamera.gameObject.AddComponent<Rain>();

All the code are well commented, I recommend reading the code if you want more information.

Any questions or suggestions you have, we will be happy to answer you in our mail:

Tilt Shift

Tilt Shift makes the scene seem much smaller than it actually is, simulating the shallow depth of field normally encountered in close-up photography. The effect is especially noticeable in relatively flat scenes.


Continue Reading…