Details
Add Weather Fog effect to your camera.
Weather Fog 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 > Fog
*without and with Camera Filter Pack Weather Fog
Property |
Range |
Default |
---|---|---|
_Near | 0f to 1f | 1f |
_Far | 0f to 1f | 1f |
Fade | 0f to 1f | 1f |
Manipulate Weather Fog by script
Example:
// Drag and Drop your Camera GameObject
// with the Weather Fog component
// to your current script on the CamFX_Weather_Fog field
public CameraFilterPack_Atmosphere_Fog CamFX_Weather_Fog;
void Update()
{
CamFX_Weather_Fog._Near = 1f;
}