Explorar o código

cleanup nearestFilter

gero3 %!s(int64=10) %!d(string=hai) anos
pai
achega
f81da6a20d
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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;