Przeglądaj źródła

BloomPass: Fixed Typo. Fixes #5639.

Mr.doob 10 lat temu
rodzic
commit
5cab409222
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      examples/js/postprocessing/BloomPass.js

+ 1 - 1
examples/js/postprocessing/BloomPass.js

@@ -46,7 +46,7 @@ THREE.BloomPass = function ( strength, kernelSize, sigma, resolution ) {
 
 	this.convolutionUniforms = THREE.UniformsUtils.clone( convolutionShader.uniforms );
 
-	this.convolutionUniforms[ "uImageIncrement" ].value = THREE.BloomPass.blurx;
+	this.convolutionUniforms[ "uImageIncrement" ].value = THREE.BloomPass.blurX;
 	this.convolutionUniforms[ "cKernel" ].value = THREE.ConvolutionShader.buildKernel( sigma );
 
 	this.materialConvolution = new THREE.ShaderMaterial( {