# Attach skin/clothing (jpg/png files) to .babylon file

**URL:** <https://forum.babylonjs.com/t/attach-skin-clothing-jpg-png-files-to-babylon-file/24280>\
**Category:** Questions\
**Created:** [October 4, 2021, 3:47am UTC](https://forum.babylonjs.com/t/attach-skin-clothing-jpg-png-files-to-babylon-file/24280 "2021-10-04T03:47:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mekaboo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mekaboo/32/440_2.png) [@Mekaboo](https://forum.babylonjs.com/u/Mekaboo)\
**Post date:** [October 4, 2021, 3:47am UTC](https://forum.babylonjs.com/t/attach-skin-clothing-jpg-png-files-to-babylon-file/24280/1 "2021-10-04T03:47:36Z")

</div>

Hey 😊

Have my characters made but need to attach materials…how to accomplish this?

Thank ya ❤

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [October 4, 2021, 8:39am UTC](https://forum.babylonjs.com/t/attach-skin-clothing-jpg-png-files-to-babylon-file/24280/2 "2021-10-04T08:39:42Z")

</div>

@Mekaboo You simply need to export materials and at run time after loading you can swap the current material of any meshes.

---

<div class="post-metadata">

**Author:** ![Mekaboo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mekaboo/32/440_2.png) [@Mekaboo](https://forum.babylonjs.com/u/Mekaboo)\
**Post date:** [October 4, 2021, 12:28pm UTC](https://forum.babylonjs.com/t/attach-skin-clothing-jpg-png-files-to-babylon-file/24280/3 "2021-10-04T12:28:08Z")

</div>

Hey @sebavan 😊

Should I do this in the PG, Blender, or Sandbox? Are there any docs I can look at for more help?

Thank ya so much❤️

---

<div class="post-metadata">

**Author:** ![JCPalmer](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jcpalmer/32/42_2.png) [@JCPalmer](https://forum.babylonjs.com/u/JCPalmer)\
**Post date:** [October 4, 2021, 2:02pm UTC](https://forum.babylonjs.com/t/attach-skin-clothing-jpg-png-files-to-babylon-file/24280/4 "2021-10-04T14:02:52Z")

</div>

If you are exporting from Blender, the files are already being generated in the same directory, by default. You can specify a sub-directory on World properties, if desired. Either way, you need to specify a texture path for the loader.

The one exception is I you specify in-line in world properties. In that case, the textures are inside the .babylon file.

---

<div class="post-metadata">

**Author:** ![Mekaboo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mekaboo/32/440_2.png) [@Mekaboo](https://forum.babylonjs.com/u/Mekaboo)\
**Post date:** [October 4, 2021, 8:24pm UTC](https://forum.babylonjs.com/t/attach-skin-clothing-jpg-png-files-to-babylon-file/24280/5 "2021-10-04T20:24:50Z")

</div>

@JCPalmer Thank ya soo very much 💙
