Details
Add Distortion Half_Sphere effect to your camera.
Add it to the Camera GameObject via the Components menu
CameraFilterPack > Distortion > Half_Sphere
*without and with Camera Filter Pack Distortion Half_Sphere
Property |
Range |
Default |
---|---|---|
SphereSize | -10f to 50f | 2.5f |
SpherePositionX | -1 to 1 | 0f |
SpherePositionY | -1 to 1 | 0f |
Strength | 1 to 10 | 5f |
Manipulate Distortion Half_Sphere by script
Example:
// Drag and Drop your Camera GameObject
// with the Distortion Half_Sphere component
// to your current script on the CamFX_Distortion_Half_Sphere field
public CameraFilterPack_Distortion_Half_Sphere CamFX_Distortion_Half_Sphere;
void Update()
{
CamFX_Distortion_Half_Sphere.SphereSize = 2.5f;
}