You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The model is loaded but comes with no textures. Is there a way to add the .mtl and .png declaratively, or do I have to grab a reference to the object3D with a template variable, and manipulate it from the controller ?
I and thank you for your amazing work.
I have an .obj model that comes with a .mtl and a .png texture and I don't know how to add those two in a declarative way.
This is what I have in my scene for the moment :
<th-object3D loadObj url="assets/models/test.obj"> </th-object3D>
The model is loaded but comes with no textures. Is there a way to add the .mtl and .png declaratively, or do I have to grab a reference to the object3D with a template variable, and manipulate it from the controller ?
Thanks !
Edit :
I tried this, according to the doc :
But the model still stays white 🧐
The text was updated successfully, but these errors were encountered: