#Three JS Decal

4 messages · Page 1 of 1 (latest)

lofty trellis
rose wave
#

Try putting the mesh and decal in suspense. Your decal is most likely loading before the mesh finishes loading.

lofty trellis
#

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/app/[locale]/products/[slug]/design/page.tsx

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

GitHub

Contribute to Yvvma/line-embroidery-v1 development by creating an account on GitHub.

GitHub

Contribute to Yvvma/line-embroidery-v1 development by creating an account on GitHub.

GitHub

Contribute to Yvvma/line-embroidery-v1 development by creating an account on GitHub.

rose wave
#

If you can make a runnable code sandbox it’ll be easier to help

Keep in mind, decal does not support animated/skinned meshes