Browse Source

渲染测式 开发

master
yuanjiajia 1 year ago
parent
commit
8168e400b9
  1. 2
      src/utils/MatHelper.php

2
src/utils/MatHelper.php

@ -37,7 +37,7 @@ class MatHelper{
$material->setFilmior($matOriginal->matParams->filmIor); $material->setFilmior($matOriginal->matParams->filmIor);
} }
if($matOriginal->matParams->isSheenEnabled === self::OPEN){ if($matOriginal->matParams->isSheenEnabled === self::OPEN){
$material->setSheen(($matOriginal->matParams->sheen)*100);
$material->setSheen(($matOriginal->matParams->sheen)*(100/3));
} }
if($matOriginal->matParams->isAnisotropyEnabled === self::OPEN){ if($matOriginal->matParams->isAnisotropyEnabled === self::OPEN){
$material->setAnisotropic($matOriginal->matParams->anisotropy); $material->setAnisotropic($matOriginal->matParams->anisotropy);

Loading…
Cancel
Save