Ver código fonte

correct compositemap method of creating orm maps

AzaezelX 5 anos atrás
pai
commit
060d62d3c3

+ 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();
 }