The Vignetting image effect introduces darkening, blur and chromatic aberration (spectral color separation) at the edges and corners of the image. This is usually used to simulate a view through a camera lens but can also be used to create abstract effects.
As with the other image effects, you must have the Standard Assets Effects package installed before it becomes available.
Property: | Function: |
---|---|
Vignetting | The degree of darkening applied to the screen edges and corners. Choose 0 to disable this feature and save on performance. |
Blurred Corners | The amount of blur that is added to the screen corners. Choose 0 to disable this feature and save on performance. |
Blur Distance | The blur filter sample distance used when blurring corners. |
Aberration Mode | Advanced tries to model more aberration effects (the constant axial aberration existant on the entire image plane) while Simple only models tangential aberration (limited to corners). |
Strength | Overall aberration intensity (not to confuse with color offset distance), defaults to 1.0. |
Tangential Aberration | The degree of tangential chromatic aberration: Uniform on the entire image plane. |
Axial Aberration | The degree of axial chromatic aberration: Scales with smaller distance to the image plane’s corners. |
Contrast Dependency | The bigger this value, the more contrast is needed for the aberration to trigger. Higher values are more realistic (in this case, an HDR input is recommended). |
Advanced mode is more expensive but offers a more realistic implementation of Chromatic Aberration.
This effect should run on all hardware that Unity supports.