Details

Add Distortion Lens effect to your camera.

Add it to the Camera GameObject via the Components menuCameraFilterPack > Distortion > Lens

*without and with Camera Filter Pack Distortion Lens


Property

Range

Default

CenterX -1 to 1 0f
CenterY -1 to 1 0f
Distortion 0 to 3 1.0f

Manipulate Distortion Lens by script

Example:

// Drag and Drop your Camera GameObject 
// with the Distortion Lens component 
// to your current script on the CamFX_Distortion_Lens field 

public CameraFilterPack_Distortion_Lens: CamFX_Distortion_Lens; 

void Update() 
{
	CamFX_Distortion_Lens.CenterX =  0f;
}