JSModeler icon indicating copy to clipboard operation
JSModeler copied to clipboard

Change Material after model is loaded.

Open gminor7 opened this issue 6 years ago • 1 comments

I'm trying to load a new material for the loaded model dynamically and unable to do so. Would I have to remove and readd the meshes?

gminor7 avatar Jun 28 '19 19:06 gminor7

You can modify the material of the generated three.js mesh like in this example: https://github.com/kovacsv/JSModeler/blob/development/sandbox/changematerial.html

kovacsv avatar Jun 30 '19 01:06 kovacsv