Constructs a new blur material.
ProtectedfarThe current camera far plane value.
The current kernel. Can be configured using the kernelSequence.
The kernel sequence for the current kernel size. Can be used to configure the kernel.
ProtectednearThe current camera near plane value.
The blur scale.
Copies the settings of the given camera.
Updates the camera-related uniforms and macros.
A camera.
Updates the resolution uniform (XY = resolution, ZW = texelSize).
The width.
The height.
An optimized blur shader material.
Based on "Frame Buffer Postprocessing Effects in DOUBLE-S.T.E.A.L (Wreckless)" by Masaki Kawase, Bunkasha Games, GDC2003 and "An investigation of fast real-time GPU-based image blur algorithms" by Filip Strugar, Intel, 2014.
See