[펌] Super-Blur: Screen and UI gaussian blur for Unity
[파일]
[링크] https://github.com/PavelDoGreat/Super-Blur
Super Blur
Blur effect that you can apply on Camera and UI. Gaussian weights was taken from this project.
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
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 for details.
'Unity3D > Shader' 카테고리의 다른 글
[펌] 유니티에서 셰이더로 원, 둥근 사각형 만들기 (0) | 2019.08.06 |
---|---|
[펌] 2D Sprite Outlines in Unity (0) | 2018.05.21 |
[펌] Dvornik Unity Distortion (0) | 2016.08.31 |
[펌] 휘어지는 효과 렌더링 (0) | 2016.05.16 |
[NGUI] Overlay Shader with Panel Clipping (0) | 2015.06.09 |