Examples: Remove superfluous texture settings in (S)SAO pass.
@@ -53,8 +53,6 @@ THREE.SAOPass = function ( scene, camera, depthTexture, useNormals, resolution )
var depthTexture = new THREE.DepthTexture();
depthTexture.type = THREE.UnsignedShortType;
- depthTexture.minFilter = THREE.NearestFilter;
- depthTexture.maxFilter = THREE.NearestFilter;
this.beautyRenderTarget.depthTexture = depthTexture;
this.beautyRenderTarget.depthBuffer = true;
@@ -30,8 +30,6 @@ THREE.SSAOPass = function ( scene, camera, width, height ) {
this.beautyRenderTarget = new THREE.WebGLRenderTarget( this.width, this.height, {
minFilter: THREE.LinearFilter,
@@ -81,8 +81,6 @@ var SAOPass = function ( scene, camera, depthTexture, useNormals, resolution ) {
var depthTexture = new DepthTexture();
depthTexture.type = UnsignedShortType;
- depthTexture.minFilter = NearestFilter;
- depthTexture.maxFilter = NearestFilter;
@@ -60,8 +60,6 @@ var SSAOPass = function ( scene, camera, width, height ) {
this.beautyRenderTarget = new WebGLRenderTarget( this.width, this.height, {
minFilter: LinearFilter,