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

WebGLRenderer: material.side support in shadowmap.

上级 63b08fe1
......@@ -298,6 +298,8 @@ THREE.ShadowMapPlugin = function () {
}
_renderer.setMaterialFaces( objectMaterial );
if ( buffer instanceof THREE.BufferGeometry ) {
_renderer.renderBufferDirect( shadowCamera, scene.__lights, fog, material, buffer, object );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册