赞
踩
Three.js 报错:
Uncaught TypeError: Failed to execute ‘uniform3fv’ on ‘WebGL2RenderingContext’: Overload resolution failed.
解决:
代码中更改Material的color属性代码:
line.material.color = 0xdb5df5;
改为:
line.material.color.set(0xdb5df5);
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。