Details
Add Weather Rain_Pro_3D effect to your camera.
Weather Rain_Pro_3D use the depth of the scene. You must set the distance to fit with your scene. Use also the _FixDistance in order to fix the scene distance if the scene is big or small.
Add it to the Camera GameObject via the Components menu
CameraFilterPack > Weather > Rain_Pro_3D
*without and with Camera Filter Pack Weather Rain_Pro_3D
Property |
Range |
Default |
---|---|---|
_FixDistance | 0f to 100f | 3f |
Fade | 0f to 1f | 1f |
Intensity | 0f to 2f | 0.5f |
DirectionX | -0.45f to 0.45f | 0.120f |
Size | 0.4f to 2f | 1.5f |
Speed | 0f to 0.5f | 0.275f |
Distortion | 0f to 0.5f | 0.025f |
StormFlashOnOff | 0f to 1f | 1f |
DropOnOff | 0f to 1f | 1 |
Drop_Near | -0.5f to 0.99f | 0 |
Drop_Far | 0f to 1f | 0.5f |
Drop_With_Obj | 0f to 1f | 1 |
Myst | 0f to 1f | 0 |
Drop_Floor_Fluid | 0f to 1f | 0.2f |
DirectionFollowCameraZ | to | false |
Manipulate Weather Rain_Pro_3D by script
Example:
// Drag and Drop your Camera GameObject
// with the Weather Rain_Pro_3D component
// to your current script on the CamFX_Weather_Rain_Pro_3D field
public CameraFilterPack_Atmosphere_Rain_Pro_3D CamFX_Weather_Rain_Pro_3D;
void Update()
{
CamFX_Weather_Rain_Pro_3D._FixDistance = 3f;
}