Gita Assets
Unity / VFX

Fast Depth of Field (Mobile, URP, VR, AR, LWRP, Default Pipeline) 1.5

Overview

Fast Depth of Field is a set of shaders for applying depth of field to a scene, for mobile, URP, VR, AR, LWRP and the default pipeline. Development focused on maximally optimizing the well-known depth of field technique while keeping the quality of the final image. The shader can now work without custom materials by using the depth texture, while the custom materials version is still included in the project and is relatively fast, so it is recommended for mobile projects.

Key features

Supports multi-pass VR
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

DOF: depth of field shader
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

The version sold in this store is 1.5; actual support is determined by that version. Default pipeline: Unity versions higher than 2017.4.1f. LWRP: only Unity versions higher than 2019.1.0f1. URP: only Unity versions higher than 2019.3.0. Official compatibility matrix: Unity 2019.3.0f6 supports Built-in and URP, and does not support HDRP.

Render pipeline compatibility

UnityBuilt-inURPHDRP
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.

Fast Depth of Field (Mobile, URP, VR, AR, LWRP, Default Pipeline) 1.5 · Unity VFX · Preview 3Fast Depth of Field (Mobile, URP, VR, AR, LWRP, Default Pipeline) 1.5 · Unity VFX · Preview 4Fast Depth of Field (Mobile, URP, VR, AR, LWRP, Default Pipeline) 1.5 · Unity VFX · Preview 5Fast Depth of Field (Mobile, URP, VR, AR, LWRP, Default Pipeline) 1.5 · Unity VFX · Preview 6Fast Depth of Field (Mobile, URP, VR, AR, LWRP, Default Pipeline) 1.5 · Unity VFX · Preview 7Fast Depth of Field (Mobile, URP, VR, AR, LWRP, Default Pipeline) 1.5 · Unity VFX · Preview 8
Contact support