3d-texture-toolkit
v0.1.1Extract embedded PBR texture maps from local GLB files.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
extract_pbr_maps Extract PBR maps from a GLB
Extract embedded base color and normal images, and split the glTF metallic-roughness image into roughness and metallic PNG files. Reads and writes local files only.
| Parameter | Type | Description |
|---|---|---|
glb_path * | string | Path to a local .glb file. |
output_dir | string | Directory for extracted images. Defaults to <glb-name>-textures beside the GLB. |
overwrite | boolean | Replace files with matching output names. Defaults to false. |