瀏覽代碼

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

Michael Herzog 3 年之前
父節點
當前提交
a6d0df34ec
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/renderers/webgl/WebGLTextures.js

+ 1 - 1
src/renderers/webgl/WebGLTextures.js

@@ -1694,7 +1694,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
 			}
 			}
 
 
 			const renderTargetProperties = properties.get( renderTarget );
 			const renderTargetProperties = properties.get( renderTarget );
-			const ignoreDepthValues = ( renderTargetProperties.__ignoreDepthValues !== undefined ) ? renderTargetProperties.__ignoreDepthValues : true;
+			const ignoreDepthValues = ( renderTargetProperties.__ignoreDepthValues !== undefined ) ? renderTargetProperties.__ignoreDepthValues : false;
 
 
 			if ( ignoreDepthValues === false ) {
 			if ( ignoreDepthValues === false ) {