【发布时间】:2012-07-11 13:22:12
【问题描述】:
在我的 three.js 脚本中,我想使用这个 webgl 函数:gl.blendFunc(gl.ONE,gl.ONE)。 如何使用 three.js 做到这一点?
谢谢。
【问题讨论】:
标签: javascript webgl three.js
在我的 three.js 脚本中,我想使用这个 webgl 函数:gl.blendFunc(gl.ONE,gl.ONE)。 如何使用 three.js 做到这一点?
谢谢。
【问题讨论】:
标签: javascript webgl three.js
var gl = renderer.context;
gl.blendFunc(gl.ONE,gl.ONE);
【讨论】: