This script will take a folder of .glb assets, strip them of their images/textures, and output the new .glbs into a folder along with all of those images.
Firsly, run npm install (use nodeJs version 16 or higher)
In the command line you can run as
node index.js --inputFolder=relative/path/to/glb/files --outputFolder=relative/path/to/desired/output/locationFor example, to process the example included in the /cave folder you can run
node index.js --inputFolder=cave --outputFolder=processedCaveIf no output folder is specified, the results will be placed in ./processedFiles
Thanks for using our Texture Processing system!