Copy link to clipboard
Copied
for %%I in ("D:\1","D:\2"
) do (sbsrender.exe render -vvv --input "C:\Users\Administrator\Desktop\Edge_padding_20210530_Source\Edge_padding_20220530_Final.sbsar" --set-entry albedo@%%I\albedo.exr --set-entry glossiness@%%I\glossiness.exr --set-entry normal@%%I\normal.exr --set-entry plant_opacity@%%I\plant_opacity.tif --set-entry translucency@%%I\translucency.exr --set-entry ruler_opacity@%%I\ruler_opacity.tif --output-path %%I\output --output-format exr --set-value "$outputsize@12,12"
)
pause
above is my cmd code. I want to set outputsize base on albedos inputsize, so i dont need set outputsize one by one.
Have something to add?