Thanks, but I didn’t get how how to retrieve the texture from child.material . I’m following the example I found here, but with this mesh, the field child.material.map is null. Which field in the material structure should I use ?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Re-using loaded texture from gltf loader in RawShaderMaterial | 8 | 1491 | December 8, 2021 | |
How to map different textures to a glb model | 2 | 1557 | April 22, 2023 | |
Custom UV unwrapping for ShaderMaterial | 5 | 3589 | December 2, 2021 | |
Issue with GLTF loader? | 1 | 412 | May 31, 2020 | |
Giving a .glb a texture in code | 7 | 7788 | January 1, 2021 |