Details
Add Colors Chromatic_Aberration effect to your camera.
Add it to the Camera GameObject via the Components menu
CameraFilterPack > Colors > Chromatic_Aberration
*without and with Camera Filter Pack Colors Chromatic_Aberration
Property |
Range |
Default |
---|---|---|
Offset | -0.02f to 0.02f | 0.02f |
Manipulate Colors Chromatic_Aberration by script
Example:
// Drag and Drop your Camera GameObject
// with the Colors Chromatic_Aberration component
// to your current script on the CamFX_Colors_Chromatic_Aberration field
public CameraFilterPack_Color_Chromatic_Aberration CamFX_Colors_Chromatic_Aberration;
void Update()
{
CamFX_Colors_Chromatic_Aberration.Offset = 0.02f;
}