For a demo project, please visit: Sandbox Unity Project
Unified Universal Blur - URP Blur effect for Unity
Unified Universal Blur allows you to display blurred version of the screen, usually for translucent UI effects.
Currently intended use cases include (other scenarios may not work):
- UI image component with blur material, displaying blurred 3D world (Canvas set to 'Screen Space - Overlay').
Features:
- Blurs both opaque and transparent objects (make sure correct setting is selected)
- Blurs Post-Processing and any other image effect which is rendered before blur (based on render feature order)
Limitations:
- NOT able to blur other UI components
Tested and working for unity versions: 2020.3, 2021.3 2022.3
Installation
upm
Simply add this repository via package manager's Add package from git URL... (for a specific version visit releases).
(more information about upm: https://docs.unity3d.com/Manual/upm-git.html)
Manual
It is also possible to download zip and put its content anywhere in the project.
Setup
- Add "Universal Blur Feature" renderer feature in every renderer data that is being used by project.
(more information about using universal renderer: https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@15.0/manual/urp-universal-renderer.html). - Assign "KawaseBlurMat" material to passMaterial if not present already.
- (Optional) Play with settings.
- Assign BlurForUI material to any UI image component.
- Done.
