NOTE: You are viewing last commit available that supports versions before Unity 6 (any version that has no support for Render Graph).
Non-Render Graph versions will not be actively maintained, but they can be used with Unity versions that have compatibility mode available.
For a demo project, please visit: Sandbox Unity Project
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
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)
It is also possible to download zip and put its content anywhere in the project.
- 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/[email protected]/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.