Uncaught TypeError: renderer.setClearColorHex is not a function

你需要先确定你的three.js的版本有没有引入错误,
three.js第二版中使用的是setClearColorHex,新版本中使用setClearColor。

发布了45 篇原创文章 · 获赞 7 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/ThisEqualThis/article/details/102861348