提交 8d0ca566 编写于 作者: D David 提交者: Mr.doob

MTL Loader support for map_Ks (#9308)

* MTL Loader support for map_Ks

* removed amature console log
上级 216cb336
......@@ -396,6 +396,18 @@ THREE.MTLLoader.MaterialCreator.prototype = {
break;
case 'map_ks':
// Specular map
if ( params.specularMap ) break; // Keep the first encountered texture
params.specularMap = this.loadTexture( resolveURL( this.baseUrl, value ) );
params.specularMap.wrapS = this.wrap;
params.specularMap.wrapT = this.wrap;
break;
case 'ns':
// The specular exponent (defines the focus of the specular highlight)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册