Extract PBR maps from a GLB
extract_pbr_mapsExtracts embedded base color and normal images from local GLB files and splits packed metallic-roughness maps into separate roughness and metallic PNGs.
Instructions
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glb_path | Yes | Path to a local .glb file. | |
| overwrite | No | Replace files with matching output names. Defaults to false. | |
| output_dir | No | Directory for extracted images. Defaults to <glb-name>-textures beside the GLB. |