# How to add texture to fbx model in react three fibert

**URL:** <https://discourse.threejs.org/t/how-to-add-texture-to-fbx-model-in-react-three-fibert/58488>\
**Category:** Questions\
**Tags:** textures\
**Created:** [November 23, 2023, 12:52pm UTC](https://discourse.threejs.org/t/how-to-add-texture-to-fbx-model-in-react-three-fibert/58488 "2023-11-23T12:52:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ali97](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@Ali97](https://discourse.threejs.org/u/Ali97)\
**Post date:** [November 23, 2023, 12:52pm UTC](https://discourse.threejs.org/t/how-to-add-texture-to-fbx-model-in-react-three-fibert/58488/1 "2023-11-23T12:52:17Z")

</div>

hello everyone ,i am using react three fiber and i have a room fbx model  
on the wall there is a frame and i want to add an image to this frame.  
the problem i have here is the image doesn’t appear instead of that a dark gray color appear.  
but if i changed the color of the material to red by example the color appear,but when i add a texture the image don’t appear  
my code:  
const obj = useLoader(FBXLoader, “./frame-test.FBX”);  
const texture = useTexture(“./three.jpg”);

```
useEffect(() => {   
    obj.traverse((child) => {
      if (child.isMesh && child.name === "image") {
        child.material.map=texture,
        child.material.needsUpdate = true
    }
});

```

}, [obj, texture]);  
return (  
  
)

---

<div class="post-metadata">

**Author:** ![Man](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/man/32/34985_2.png) [@Man](https://discourse.threejs.org/u/Man)\
**Post date:** [November 23, 2023, 2:23pm UTC](https://discourse.threejs.org/t/how-to-add-texture-to-fbx-model-in-react-three-fibert/58488/2 "2023-11-23T14:23:47Z")

</div>

Perhaps, it seems because of the UV map of the model.  
Please check the model in the Blender or Autodesk 3ds max and do your uv mapping work there.
