未验证 提交 a97b47c0 编写于 作者: T throni3git 提交者: GitHub

Update src/renderers/WebGLRenderer.js

上级 14fc1647
......@@ -2512,7 +2512,7 @@ function WebGLRenderer( parameters ) {
var framebuffer = properties.get( renderTarget ).__webglFramebuffer;
if ( activeCubeFaceIndex != undefined ) {
if ( renderTarget.isWebGLRenderTargetCube && activeCubeFaceIndex != undefined ) {
framebuffer = framebuffer[ activeCubeFaceIndex ];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册