# Using GLTFLoader on node

**URL:** <https://discourse.threejs.org/t/using-gltfloader-on-node/2309>\
**Category:** Questions\
**Tags:** node-js, gltf-loader\
**Created:** [April 2, 2018, 9:25pm UTC](https://discourse.threejs.org/t/using-gltfloader-on-node/2309 "2018-04-02T21:25:33Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![muhmundr](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@muhmundr](https://discourse.threejs.org/u/muhmundr)\
**Post date:** [July 8, 2020, 6:24pm UTC](https://discourse.threejs.org/t/using-gltfloader-on-node/2309/8 "2020-07-08T18:24:17Z")

</div>

I think this is a kind of “ugly hack” that you had in mind, right? 🙂

> [@Using GLB with textures on node](https://discourse.threejs.org/t/using-glb-with-textures-on-node/16854/2):
>
> For those who are looking for the answer to the question about load GLB models on node.js with three.js Here’s a working solution for models WITHOUT textures: const toArrayBuffer = (buf) =\> { const arrayBuffer = new ArrayBuffer(buf.length); const view = new Uint8Array(arrayBuffer); for (let i = 0; i \< buf.length; ++i) { view[i] = buf[i]; } return arrayBuffer; } const loadGLTFModel = (fileName) =\> { const loader = new THREE.GLTFLoader(); return new Promise((resolve, reject) =\>…

---

_[View the full topic](https://discourse.threejs.org/t/using-gltfloader-on-node/2309)._
