|
|
@ -378,11 +378,11 @@ class MatHelper{ |
|
|
|
$translucencyIntensity = $matOriginal->matParams->translucencyIntensity; |
|
|
|
$material->setTransmission( self::hex2floatColor( |
|
|
|
$matOriginal->matParams->translucencyColor, |
|
|
|
$translucencyIntensity |
|
|
|
$translucencyIntensity * 1.05 |
|
|
|
)); |
|
|
|
$material->setBaseColor( self::hex2floatColor( |
|
|
|
$matOriginal->matParams->translucencyColor, |
|
|
|
1 - $translucencyIntensity |
|
|
|
(1 - $translucencyIntensity) * 1.05 |
|
|
|
)); |
|
|
|
$material->setSpecular("0.04 0.04 0.04"); |
|
|
|
$material->setSpecular_BF("0.04 0.04 0.04"); |
|
|
|