浏览代码

correct compositemap method of creating orm maps

AzaezelX 5 年之前
父节点
当前提交
060d62d3c3
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Templates/BaseGame/game/tools/materialEditor/scripts/materialEditor.ed.cs

+ 2 - 2
Templates/BaseGame/game/tools/materialEditor/scripts/materialEditor.ed.cs

@@ -2578,7 +2578,7 @@ function MaterialEditorGui::saveCompositeMap(%this)
     %metal = %material.metalChan[%layer];
     
     %channelKey = %roughness SPC %ao SPC %metal SPC 0;
-    error("Storing: \"" @ %roughMap @"\" \""@  %aoMap @"\" \""@ %metalMap @"\" \""@ %channelKey @"\" \""@ %saveAs @"\"");
-    saveCompositeTexture(%roughMap,%aoMap,%metalMap,"",%channelKey, %saveAs);
+    error("Storing: \"" @ %aoMap @"\" \""@ %roughMap @"\" \""@ %metalMap @"\" \""@ %channelKey @"\" \""@ %saveAs @"\"");
+    saveCompositeTexture(%aoMap,%roughMap,%metalMap,"",%channelKey, %saveAs);
     %dlg.delete();
 }