Final Lens Effects package is a collection of image effects for simulating some properties of real camera lens such as depth of field, vignetting and distortion for Unity 5 (5.6 or higher). Package contains following effects:
- Depth of field effect with polygonal aperture (Bokeh)
- Bloom effect
- Vignetting
- Chromatic aberrations
- Lens distortion
These effects can be used to make your scenes look closer to as if they were captured with real camera and lens - making computer generated graphics look more natural or to achieve the "cinematic look" for cut scenes or in-game. Being very tweakable, the effects can be combined, reordered, customized and overdone to create interesting looks or visual effects.
- Compatible with Unity 5.6, 2017 and 2018
- Works on Linux/Mac/Windows
- Plugin is not tested on mobile devices.
All the effects are optimized and designed to work well together to get best performance and visual quality. Effects are attached to camera and are applied as a post-processing step - this way, performance is dependent on screen resolution only and not on the scene complexity.
Our depth of field implementation provides interesting additional feature - polygonal aperture simulation. This can be used e.g. to make bright out of focus spots create a desired shape (hexagon/octagon/...) just like with real lens. Vignetting provides also desaturation mode to affect color saturation rather than brightness of the image and possibility to use custom colors for vignette. Bloom comes with many options to control range and intensity of the effect.
Package comes with full source code for both C# script and the shader.
See user manual at our pages.
Check out our other projects.
We thank authors of following scenes used for screenshots:
Walking Street by Tirgame Assets
Steampunk Industries by Triplebrick
Viking Village by Unity Technologies