Works with Unity versions higher than 2017.1.0f
LWRP works only with Unity versions higher than 2019.1.0f1
URP works only with Unity versions higher than 2019.3.0f3
VR works for single pass and multi pass rendering
Fastest Solution on the market.
*UPDATE
Now shader can work without custom materials using depth texture. But the version with custom materials is still in the projects. The custom material approach is relatively fast, so try to use it for mobile projects.This asset consists of shaders for applying the depth of field to the scene.These approach is the fastest in the market. During development the main goal was to maximally optimize the well-known depth of field technique, keeping the quality of the final image. The shader was tested on the low-end mobile device in a loaded scene.
SHADERS * DOF - The fastest depth of field shader in the Asset Store. Runs at
46-55 fps on low-end device.
* Unlit - Modified and optimized version of standart mobile Unlit shader.
* Diffuse - Modified and optimized version of standart mobile Diffuse shader.
* Specular - Modified and optimized version of standart mobile Specular shader.
*Bumped Diffuse - Modified and optimized version of standart mobile Diffuse shader.
*Bumped Specular - Modified and optimized version of standart mobile Specular shader.
* Transparent - Modified and optimized version of standart Cutout shader.
NOTE!!! All the testing was made on low-end mobile device Meizu M2 Note in the scene containing:
-65 different gameObjects,
-68 different Materials,
-57 different Textures,
-1 Directional Light(realtime),
-approximately 40k polygons