|
|
@ -143,8 +143,8 @@ foreach($taskModel->childsParams as $childParams){ |
|
|
|
$textureScaleV = $taskModel->uvScale*(MAT_STANDARD_SIZE/$matOriginal->height)*-1; |
|
|
|
$material = createLuxcoreMat($matOriginal, $textureScaleU, $textureScaleV, $cacheFileDir, $scene); |
|
|
|
}else{ |
|
|
|
$material = new Disney(); |
|
|
|
$material->setBaseColor('1 1 1'); |
|
|
|
$material = new Matte(); |
|
|
|
$material->setBaseColor('0.5'); |
|
|
|
} |
|
|
|
$scene->registerMaterial($material); |
|
|
|
|
|
|
|