2
0
Эх сурвалжийг харах

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

Michael Herzog 3 жил өмнө
parent
commit
2161957654

+ 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 ignoreDepthValues = ( renderTargetProperties.__ignoreDepthValues !== undefined ) ? renderTargetProperties.__ignoreDepthValues : true;
+			const ignoreDepthValues = ( renderTargetProperties.__ignoreDepthValues !== undefined ) ? renderTargetProperties.__ignoreDepthValues : false;
 
 			if ( ignoreDepthValues === false ) {