提交 a6d0df34 编写于 作者: M Michael Herzog 提交者: Mr.doob

WebGLTextures: Fix depth textures with multisampling. (#23611)

上级 ecdc8432
......@@ -1694,7 +1694,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
}
const renderTargetProperties = properties.get( renderTarget );
const ignoreDepthValues = ( renderTargetProperties.__ignoreDepthValues !== undefined ) ? renderTargetProperties.__ignoreDepthValues : true;
const ignoreDepthValues = ( renderTargetProperties.__ignoreDepthValues !== undefined ) ? renderTargetProperties.__ignoreDepthValues : false;
if ( ignoreDepthValues === false ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册