Legacy Documentation: Version 4.5
Previous
Vignetting (and Chromatic Aberration)
Next
Mesh Components

Vortex

The Vortex image effect distorts the rendered image within a circular region. Pixels in the image are displaced around a central circular area by a specified angle; the amount of displacement reduces with distance from the centre, diminishing to zero at the circle’s edge. Vortex is similar to another image effect called Twirl, although Twirl distorts the image around a point rather than a circle.

As with the other image effects, this effect is only available in Unity Pro and you must have the Pro Standard Assets installed before it becomes available.

Vortex image effect applied to the scene
Vortex image effect applied to the scene

Properties

Property: Function:
Radius The radius of the circle where distortion occurs, given in normalized screen coordinates (ie, a radius of 0.5 is half the size of the screen).
Angle The angle by which pixels are displaced around the central circle.
Center The center of the circular region of distortion.

Hardware Support

This effect requires a graphics card that supports Shader Model 2. See the Graphics Hardware Capabilities and Emulation page for further details and a list of compliant hardware.

Previous
Vignetting (and Chromatic Aberration)
Next
Mesh Components