|
@ -31,7 +31,9 @@ class MatHelper{ |
|
|
} |
|
|
} |
|
|
if($matOriginal->matParams->isFilmEnabled === self::OPEN){ |
|
|
if($matOriginal->matParams->isFilmEnabled === self::OPEN){ |
|
|
$material->setFilmamount($matOriginal->matParams->film); |
|
|
$material->setFilmamount($matOriginal->matParams->film); |
|
|
$material->setFilmthickness($matOriginal->matParams->filmthickness); |
|
|
|
|
|
|
|
|
$material->setFilmthickness( |
|
|
|
|
|
$matOriginal->matParams->filmthickness / 2 |
|
|
|
|
|
); |
|
|
$material->setFilmior($matOriginal->matParams->filmIor); |
|
|
$material->setFilmior($matOriginal->matParams->filmIor); |
|
|
} |
|
|
} |
|
|
if($matOriginal->matParams->isSheenEnabled === self::OPEN){ |
|
|
if($matOriginal->matParams->isSheenEnabled === self::OPEN){ |
|
|