Closed liunuozhi closed 3 years ago
Hey, unfortunately this is a dynamic material and cannot be exported in a .gltf file as is. You would need to bake it into a texture, however three.js does not currently include a baking workflow (you would need to code it by yourself).
Alternatively, you can look into recreating the scene in Blender, it allows you to bake a lot more stuff and export it as .gltf. 🙂
@marcofugaro Thanks for your fast response. It's a pity that it is not available, but still thank you so much for suggestions. I might look at them. Still, thank you so much!
No problem!
Hi there! Thank you very much for this very useful implementation.
I would like to export as gltf with materials by GLTFExporter. However, it turns out the materials cannot be shown in output. Is there any way to export the material? Or can be done by any other 3d model format?