#Three JS Decal
4 messages · Page 1 of 1 (latest)
Try putting the mesh and decal in suspense. Your decal is most likely loading before the mesh finishes loading.
First of all, thanks for answering me! I tried reusing Suspense inside the ModelInstance just in case, but I also have Suspense on the parent of this component. In both cases, it turned out the same way:
https://github.com/Yvvma/line-embroidery-v1/blob/main/src/components/Design/DesignModel.tsx
https://github.com/Yvvma/line-embroidery-v1/blob/main/src/components/Design/ModelInstance.tsx
If you can make a runnable code sandbox it’ll be easier to help
Keep in mind, decal does not support animated/skinned meshes