Browse Source

Merge pull request #13905 from mrdoob/WestLangley-GLTFLoader

GLTFLoader: remove unnecessary code
Mr.doob 7 years ago
parent
commit
4e16438513
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 )