When running a graph in Execute Mode (using the “-exportTemplate” option) in ElementGraph or InstaMATPipeline, referencing the output template for the output textures has no effect.
All output textures are named by the default defined naming convention and each channel is packed.
The Layering Project has confirmed that the Output Template works correctly.
How can I use Output Template with the “-exportTemplate” option in ElementGraph and InstaMATPipeline?
Executing the -exportTemplate argument with an Element Graph is done by adding the argument after -mode Execute is set. It can be added either before or after the -graph argument.
For example the following command executes a package “Test.IMP” with a graph called “Test” that contains a material with the PBR map outputs (BaseColor, Normal, Roughness, Metalness, AO, Height) and applies a template called “Test Template.json” which packs some channels into the Red, Green, Blue, and Alpha channels of a single RGBA output.