在我的 three.js 脚本中,我想使用这个 webgl 函数:gl.blendFunc(gl.ONE,gl.ONE)。 我如何使用 three.js 做到这一点?
谢谢。
最佳答案
var gl = renderer.context;
gl.blendFunc(gl.ONE,gl.ONE);
关于javascript - 在 three.js 程序中运行 webgl 函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11421166/