Преглед на файлове

Remove unnecessary code

/ping @takahirox
WestLangley преди 7 години
родител
ревизия
473c861ee1
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      examples/js/loaders/GLTFLoader.js

+ 0 - 1
examples/js/loaders/GLTFLoader.js

@@ -572,7 +572,6 @@ THREE.GLTFLoader = ( function () {
 				].join( '\n' );
 
 				var fragmentShader = shader.fragmentShader
-					.replace( '#include <specularmap_fragment>', '' )
 					.replace( 'uniform float roughness;', 'uniform vec3 specular;' )
 					.replace( 'uniform float metalness;', 'uniform float glossiness;' )
 					.replace( '#include <roughnessmap_pars_fragment>', specularMapParsFragmentChunk )