Here is my code working partially: https://jsitor.com/Ztz8xPdezJ
I tried hard almost two days but I could not get it run.
Here is my code working partially: https://jsitor.com/Ztz8xPdezJ
I tried hard almost two days but I could not get it run.
Hi!
The model you use has no uv
attribute, thus you can’t apply textures to it.
Creating UVs (also called “texture coordinates” or “UV unwrapping”) is a whole topic of its own, and usually done in 3D art tools like Blender. Lots of tutorials online for how to create UVs in those tools.
Without UVs, nothing maps specific parts of the texture to specific parts of the model, so you can’t just mix and match any texture with any UV set, they need to be designed to work together.