correct compositemap method of creating orm maps

This commit is contained in:
AzaezelX 2020-09-30 16:02:06 -05:00
parent 0c7811bd1a
commit 060d62d3c3

View file

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