【问题标题】:Run a webgl function in a three.js program在 three.js 程序中运行 webgl 函数
【发布时间】:2012-07-11 13:22:12
【问题描述】:

在我的 three.js 脚本中,我想使用这个 webgl 函数:gl.blendFunc(gl.ONE,gl.ONE)。 如何使用 three.js 做到这一点?

谢谢。

【问题讨论】:

    标签: javascript webgl three.js


    【解决方案1】:
    var gl = renderer.context;
    gl.blendFunc(gl.ONE,gl.ONE);
    

    【讨论】:

      猜你喜欢
      • 2012-06-21
      • 2012-08-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-01-13
      • 1970-01-01
      相关资源
      最近更新 更多