vue-3d-model
vue-3d-model copied to clipboard
Why is the model I loaded white? It's also lit
trafficstars
加了灯光之后 模型出来是白色的是在怎莫回事呀,
还有 就是怎末给模型贴图呀
提供一个复现问题的demo
数据是从后台来的 因为在项目里嵌套着 不好拿 就把代码截图了 数据是请求过来的 模型是白色 然后不知道咋给贴图
There might be your object export settings. I had the same issue by exporting incorrectly my object from the graphics software. Check it again and try opening your .obj with another 3D object viewer to check if it's exported correctly before importing to your Vue project.