Browse Source

Remove unnecessary code

/ping @takahirox
WestLangley 7 years ago
parent
commit
473c861ee1
1 changed files with 0 additions and 1 deletions
  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 )