diff --git a/src/filters/convolution/ConvolutionFilter.js b/src/filters/convolution/ConvolutionFilter.js index 163a670..9bb60e6 100644 --- a/src/filters/convolution/ConvolutionFilter.js +++ b/src/filters/convolution/ConvolutionFilter.js @@ -26,7 +26,7 @@ // custom uniforms { matrix: { type: '1fv', value: new Float32Array(matrix) }, - texelSize: { type: '2v', value: { x: 1 / width, y: 1 / height } } + texelSize: { type: 'v2', value: { x: 1 / width, y: 1 / height } } } ); }