URP Motion Blur

$9
Publisher DigitalMind
File size 54.98MB
Number of files 53
Latest version 1
Latest release date 2021-10-14 08:41:12
First release date 2021-10-14 08:41:12
Supported Unity versions 2018.4.2 or higher
WebGL demo of this and other effects from URP Post-Processing Extensions

Package contains implementation of Motion Blur for Universal Render Pipeline implemented as Scriptable Renderer Feature.

The only thing you needed is to add MotionBlurFeature to your ForwardRenderer and choose what layers to blur and what remain unblurred.

Feature can be configured in several ways:
Depends on camera movement - will calculate blur by camera velocity
Depends on speedFactor - can be configured by external script, i.e. by vehicle velocity
Static blur - fixed effect with configurable direction (in screen space)

All shaders are implemented in ShaderGraph except those which are working with Depth Buffers (there is no support for depth write in ShaderGraph).

Requirements: URP 10.5

Limitations:
1. transparent objects are not blurred by design regardless of layer. Because there is no clear way (w/o glitches) to mix together opaque and transparent objects with separated rendering of blurred and unblurred layers.
2. method is not using Motion Vectors, so amount of blur is depends on camera speed and not on speed of objects in front of camera.
3. method was not checked for VR.
4. Supported Unity version 2020.3.11f1+ and URP 10.5+ (because of Shader Graph shaders).

As a compensation for constant-per-frame blur factor there is depth factor made configurable. So far objects can be blurred less than close.

Note: demo scene contains special script which will set custom renderer pipeline linked to Forward Renderer with MotionBlurFeature. You can use it or add MotionBlurFeature to your Forward Renderer.

Top Publisher Assets