提交 a55ddea4 编写于 作者: B Ben Houston (Clara.io) 提交者: Mr.doob

fix bug in premultipledAlpha = true with MultiplyBlending. (#8905)

上级 d32cd00f
......@@ -268,7 +268,7 @@ THREE.WebGLState = function ( gl, extensions, paramThreeToGL ) {
if ( premultipliedAlpha ) {
gl.blendEquationSeparate( gl.FUNC_ADD, gl.FUNC_ADD );
gl.blendFuncSeparate( gl.ZERO, gl.ZERO, gl.SRC_COLOR, gl.SRC_ALPHA );
gl.blendFuncSeparate( gl.ZERO, gl.SRC_COLOR, gl.ZERO, gl.SRC_ALPHA );
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册