提交 c3464f0c 编写于 作者: T takahiro

Disable Shadow mapping for Outline drawing

上级 7a7b2c6c
......@@ -4293,9 +4293,14 @@ THREE.MMDHelper.prototype = {
renderOutline: function ( scene, camera ) {
var tmpEnabled = this.renderer.shadowMap.enabled;
this.renderer.shadowMap.enabled = false;
this.setupOutlineRendering();
this.renderer.render( scene, camera );
this.renderer.shadowMap.enabled = tmpEnabled;
},
setupMainRendering: function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册