未验证 提交 4e164385 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #13905 from mrdoob/WestLangley-GLTFLoader

GLTFLoader: remove unnecessary code
......@@ -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 )
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册