Parcourir la source

BloomPass: Fixed Typo. Fixes #5639.

Mr.doob il y a 10 ans
Parent
commit
5cab409222
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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( {