i do not down.this is not me write. who are you?




------------------ 原始邮件 ------------------
发件人: "Patrick Cozzi";<notifications@github.com>;
发送时间: 2014年3月26日(星期三) 上午9:00
收件人: "AnalyticalGraphicsInc/cesium"<cesium@noreply.github.com>; 
抄送: "次毅"<200954381@qq.com>; 
主题: Re: [cesium] Order Independent Transparency (#1412)




In Source/Scene/OIT.js:
 > +    } > + > +    function executeTranslucentCommandsSortedMRT(oit, scene, executeFunction, passState, commands) { > +        var context = scene._context; > +        var framebuffer = passState.framebuffer; > +        var length = commands.length; > + > +        passState.framebuffer = oit._adjustTranslucentFBO; > +        oit._adjustTranslucentCommand.execute(context, passState); > + > +        var debugFramebuffer = oit._opaqueFBO; > +        passState.framebuffer = oit._translucentFBO; > + > +        for (var j = 0; j < length; ++j) { > +            var command = commands[j]; > +            var renderState = getTranslucentMRTRenderState(oit, context, command.renderState);  
Why doesn't this use command._oit like executeTranslucentCommandsSortedMultipass above?
 
—
Reply to this email directly or view it on GitHub.