提交 a63f55e8 编写于 作者: M Mr.doob

Merge pull request #7128 from unphased/fix-shadowmap-alpha-confirmed

confirmed fix #7124
......@@ -237,7 +237,7 @@ THREE.WebGLShadowMap = function ( _renderer, _lights, _objects ) {
var clearColor = _renderer.getClearColor(),
clearAlpha = _renderer.getClearAlpha();
_gl.clearColor( clearColor.r, clearColor.g, clearColor.b, clearAlpha );
_renderer.setClearColor( clearColor, clearAlpha );
_state.enable( _gl.BLEND );
if ( scope.cullFace === THREE.CullFaceFront ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册