If the pass is horizontal (true) or vertical (false).
Strength of the blur (distance of sampling).
The number of passes to generate the blur.
Static GAUSSIAN_The kernels containing the gaussian constants.
The quality of the filter is defined by its number of passes.
The strength of the blur filter in pixels.
Static fragStatic vertStatic generateStatic generate
Apply a vertical or horizontal gaussian blur going inward by using alpha as the penetrating channel.
Param: horizontal
If the pass is horizontal (true) or vertical (false).
Param: strength
Strength of the blur (distance of sampling).
Param: quality
Number of passes to generate the blur. More passes = Higher quality = Lower Perf.
Param: resolution
Resolution of the filter.
Param: kernelSize
Number of kernels to use. More kernels = Higher quality = Lower Perf.