|
@@ -392,7 +392,7 @@ THREE.SSAOPass.prototype = Object.assign( Object.create( THREE.Pass.prototype ),
|
|
|
|
|
|
}
|
|
|
|
|
|
- this.noiseTexture = new THREE.DataTexture( data, width, height, THREE.RGBA, THREE.FloatType );
|
|
|
+ this.noiseTexture = new THREE.DataTexture( data, width, height, THREE.RGBAFormat, THREE.FloatType );
|
|
|
this.noiseTexture.wrapS = THREE.RepeatWrapping;
|
|
|
this.noiseTexture.wrapT = THREE.RepeatWrapping;
|
|
|
this.noiseTexture.needsUpdate = true;
|