Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PavelDoGreat/Super-Blur
Screen and UI gaussian blur for Unity
https://github.com/PavelDoGreat/Super-Blur
blur effects filter gaussian unity
Last synced: 2 months ago
JSON representation
Screen and UI gaussian blur for Unity
- Host: GitHub
- URL: https://github.com/PavelDoGreat/Super-Blur
- Owner: PavelDoGreat
- License: mit
- Created: 2017-01-08T15:57:19.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-12T12:17:48.000Z (almost 5 years ago)
- Last Synced: 2024-08-01T22:52:48.676Z (5 months ago)
- Topics: blur, effects, filter, gaussian, unity
- Language: HLSL
- Size: 11.7 KB
- Stars: 807
- Watchers: 36
- Forks: 109
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- unity-awesome - Gaussian Blur - Screen and UI gaussian blur for Unity (Shaders)
- awesome-unity-open-source-on-github - Super-Blur - Screen and UI gaussian blur (Blur)
README
Super Blur
==========Blur effect that you can apply on Camera and UI. Gaussian weights was taken from [this project](https://github.com/Jam3/glsl-fast-gaussian-blur).
![view](http://i.imgur.com/4WO551O.png)
Usage
-----Just add **SuperBlur.cs** or **SuperBlurFast.cs** script to Camera and attach *Blur Material* and *UI Material* to it.
- **SuperBlur** - (recommended way) It's using OnRenderImage to grab screen texture.
- **SuperBlurFast** - Render scene directly to render texture. Much better perfomance on mobile devices, but doesn't work with other post effects.
Properties
----------![editor](http://i.imgur.com/6ZiIcgq.png)
- **Render Mode** - Chooses to render as Post Effect or just apply blurred texture to UI material.
- **Kernel Size** - Bigger kernels produces bigger blur, but are more expensive.
- **Interpolation** - Use if you want to create smooth blurring transition.
- **Downsample** - Controls buffer resolution (0 = no downsampling, 1 = half resolution... etc.).
- **Iterations** - More iterations = bigger blur, but comes at perfomance cost.
- **Gamma Correction** - Enables gamma correction to produce correct blur in Gamma Colorspace. Disable this option if you use Linear Colorspace.
License
-------If you'd try to sell it on Asset Store, then I'm gonna find you.
See [LICENSE](LICENSE) for details.