Browse Source

渲染测式 开发

master
yuanjiajia 1 year ago
parent
commit
43c90ef792
  1. 1
      src/utils/MatHelper.php

1
src/utils/MatHelper.php

@ -38,6 +38,7 @@ class MatHelper{
} }
if($matOriginal->matParams->isSheenEnabled === self::OPEN){ if($matOriginal->matParams->isSheenEnabled === self::OPEN){
$material->setSheen(($matOriginal->matParams->sheen)*(100/3)); $material->setSheen(($matOriginal->matParams->sheen)*(100/3));
$material->setSheentint($matOriginal->matParams->tintIntensity);
} }
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