MisterX2000 / UnityUIBlur

UI gaussian blur for Unity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UI Blur for Unity

view

Usage

Just add UIBlur.cs script to Camera and attach UIBlurPostEffect and UIBlur material to it.

Properties

editor

  • 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.

Credits

Based on https://github.com/PavelDoGreat/Super-Blur

About

UI gaussian blur for Unity

License:MIT License


Languages

Language:HLSL 78.0%Language:C# 22.0%