three-stdlib
three-stdlib copied to clipboard
interface GLTF lack two attributes: nodes and materials
interface GLTF lack two attributes: nodes and materials

who can help me?
nodes & materials aren't part of the gltf loader output, they're added by useLoader/useGLTF. i asked on threejs GH once but they were against adding these two, so they are exclusive to the react+three eco system. things like gltfjsx automatically type them out.
thanks @drcmda for the help。 so, I can only solve this by extending the global ts type?
Should be fixed in Drei v9.25.3.