Fast Depth of Field (Mobile, URP, VR, AR, LWRP, Default Pipeline) 1.5
Overview
Key features
Supports single-pass instanced or Multiview VR (Oculus devices)
Supports single-pass VR
Supports AR
Supports URP, LWRP and the default pipeline
New depth mode that works without custom materials, using the depth texture
The custom materials approach is still included in the project and is relatively fast, recommended for mobile projects
Developed to maximally optimize the depth of field technique while keeping the quality of the final image
According to the official description, the shader runs at 46-55 fps on a low-end mobile device in a loaded test scene (Meizu M2 Note, 65 game objects, 68 materials, 57 textures, 1 realtime directional light, approximately 40k polygons)
Included content
Unlit: modified and optimized version of the standard mobile Unlit shader
Diffuse: modified and optimized version of the standard mobile Diffuse shader
Specular: modified and optimized version of the standard mobile Specular shader
Bumped Diffuse: modified and optimized version of the standard mobile Diffuse shader
Bumped Specular: modified and optimized version of the standard mobile Specular shader
Transparent: modified and optimized version of the standard Cutout shader
Compatibility
Render pipeline compatibility
| Unity | Built-in | URP | HDRP |
|---|---|---|---|
| 2019.3.0f6 |
Technical specifications
- Original creator
- Rufat's ShaderLab
- Current official version
- 1.5
- Supported engines
- 2017.4.1, 2019.1.0, 2019.3.0, 2019.3.0f6
- Render pipelines
- 2019.3.0f6 · Built-in / URP
- Official file size
- 12.79 MB
- Official update date
- 2021-07-28
- Asset file count
- 32
- Package format
- unitypackage
- First official release
- 2019-04-10
Tags
Full description
Default pipeline works with Unity versions higher than 2017.4.1f.
LWRP works only with Unity versions higher than 2019.1.0f1.
URP works only with Unity versions higher than 2019.3.0.
Supports Multi-pass VR.
Supports Single-pass instanced or Multiview VR (Oculus devices).
Supports Single-pass VR.
UPDATE:
Now the shader can work without custom materials using depth texture. But the version with custom materials is still in the project. The custom material approach is relatively fast, so try to use it for mobile projects.
This asset consists of shaders for applying depth of field to the scene. 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 - Depth of field shader. Runs at 46-55 fps on low-end device.
Unlit - Modified and optimized version of standard mobile Unlit shader.
Diffuse - Modified and optimized version of standard mobile Diffuse shader.
Specular - Modified and optimized version of standard mobile Specular shader.
Bumped Diffuse - Modified and optimized version of standard mobile Diffuse shader.
Bumped Specular - Modified and optimized version of standard mobile Specular shader.
Transparent - Modified and optimized version of standard 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.
Ratings and reviews
You can rate and review this item after purchase.
No buyer reviews yet.