未验证 提交 728f241c 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #16020 from Mugen87/dev26

WebGLRenderer: Ensure buffers are not overwritten by Scene.onAfterRender().
......@@ -1205,6 +1205,10 @@ function WebGLRenderer( parameters ) {
//
scene.onAfterRender( _this, scene, camera );
//
if ( _currentRenderTarget !== null ) {
// Generate mipmap if we're using any kind of mipmap filtering
......@@ -1225,8 +1229,6 @@ function WebGLRenderer( parameters ) {
state.setPolygonOffset( false );
scene.onAfterRender( _this, scene, camera );
if ( vr.enabled ) {
vr.submitFrame();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册