Browse Source

cleanup nearestFilter

gero3 10 năm trước cách đây
mục cha
commit
f81da6a20d
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      examples/js/postprocessing/GlitchPass.js

+ 0 - 2
examples/js/postprocessing/GlitchPass.js

@@ -110,8 +110,6 @@ THREE.GlitchPass.prototype = {
 		var texture = new THREE.DataTexture( data_arr, dt_size, dt_size, THREE.RGBFormat, THREE.FloatType );
 		console.log( texture );
 		console.log( dt_size );
-		texture.minFilter = THREE.NearestFilter;
-		texture.magFilter = THREE.NearestFilter;
 		texture.needsUpdate = true;
 		return texture;