未验证 提交 0a3a0ed5 编写于 作者: T Takahiro 提交者: GitHub

Fix WebGLMultisampleRenderTarget mipmap generation (#22064)

上级 1991d6fc
......@@ -1052,14 +1052,14 @@ function WebGLRenderer( parameters = {} ) {
if ( _currentRenderTarget !== null ) {
// Generate mipmap if we're using any kind of mipmap filtering
textures.updateRenderTargetMipmap( _currentRenderTarget );
// resolve multisample renderbuffers to a single-sample texture if necessary
textures.updateMultisampleRenderTarget( _currentRenderTarget );
// Generate mipmap if we're using any kind of mipmap filtering
textures.updateRenderTargetMipmap( _currentRenderTarget );
}
//
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册