Box Blur

Blurs using a simple box blur algorithm.

Parameters

tex0 Texture: The input texture to be filtered. Default: The entire canvas
canvasSize Vec2: The size of the texture used for sampling neighboring pixels. Default: The entire canvas
blurRadius Int: The radius of the box blur. Controls the extent of blurring. Default: 0

Example Parameters

boxBlur.setUniform('blurRadius', 3);