remibodin / Unity3D-Blur

Gaussian and kawase blur for Unity3D

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blur for Unity3D

Gaussian Blur

Based on this blog post.

Usage

Gaussian Blur Options

Chose algorithm :

  • Naïve
  • Two pass
  • Two pass with linear sampling

and filter size :

  • LITTLE_KERNEL (7)
  • MEDIUM_KERNEL (35)
  • BIG_KERNEL (127)

Graph

LITTLE_KERNEL 3 sigma MEDIUM_KERNEL 10 sigma BIG_KERNEL 25 sigma
LITTLE_KERNEL 3 sigma MEDIUM_KERNEL 10 sigma BIG_KERNEL 25 sigma

More

Kawase blur

At this moment kawase blur have not param 5 pass with [0, 1, 2, 2, 3] offset ...

About

Gaussian and kawase blur for Unity3D


Languages

Language:ShaderLab 54.6%Language:C# 24.2%Language:HLSL 21.2%