Import
HorizontalBlurShader is an addon, and must be imported explicitly, see Installation#Addons.
import { HorizontalBlurShader } from 'three/addons/shaders/HorizontalBlurShader.js';
Properties
.HorizontalBlurShader : ShaderMaterial~Shader (inner, constant)
Two pass Gaussian blur filter (horizontal and vertical blur shaders).
References:
-
9 samples per pass
-
standard deviation 2.7
-
"h" and "v" parameters should be set to "1 / width" and "1 / height"