|
|
@ -300,7 +300,7 @@ class MatHelper{ |
|
|
|
$material->setTransmission($imageMap); |
|
|
|
} |
|
|
|
|
|
|
|
// 加载金属度纹理、粗糙度纹理
|
|
|
|
// 加载 粗糙度 纹理
|
|
|
|
if($matOriginal->matParams->metallicTexture){ |
|
|
|
$textureUrl = $matOriginal->matParams->metallicTexture; |
|
|
|
$textureSavaPath = $cacheFileDir.'/'.basename($textureUrl); |
|
|
@ -493,7 +493,7 @@ class MatHelper{ |
|
|
|
$material->setTransmission($transmissionTexture); |
|
|
|
} |
|
|
|
|
|
|
|
// 加载金属度纹理、粗糙度纹理
|
|
|
|
// 加载 粗糙度 纹理
|
|
|
|
if($matOriginal->matParams->metallicTexture){ |
|
|
|
$textureUrl = $matOriginal->matParams->metallicTexture; |
|
|
|
$textureSavaPath = $cacheFileDir.'/'.basename($textureUrl); |
|
|
|