Browse Source

渲染测式 案例 开发

master
yuanjiajia 1 year ago
parent
commit
e47635f02b
  1. 2
      examples/renderTest.php

2
examples/renderTest.php

@ -205,7 +205,7 @@ foreach($taskModel->childsParams as $childParams){
})($childParams); })($childParams);
$textureScaleU = $taskModel->uvScale*(MAT_STANDARD_SIZE/$matOriginal->width); $textureScaleU = $taskModel->uvScale*(MAT_STANDARD_SIZE/$matOriginal->width);
$textureScaleV = $taskModel->uvScale*(MAT_STANDARD_SIZE/$matOriginal->height); $textureScaleV = $taskModel->uvScale*(MAT_STANDARD_SIZE/$matOriginal->height);
if(false){
if(is_object($matOriginal)){
$material = createLuxcoreMat($matOriginal, $textureScaleU, $textureScaleV, $downloadDir, $scene); $material = createLuxcoreMat($matOriginal, $textureScaleU, $textureScaleV, $downloadDir, $scene);
}else{ }else{
$material = new Disney(); $material = new Disney();

Loading…
Cancel
Save