Browse Source

Merge pull request #19234 from Mugen87/dev45

WebGLShadowMap: Silently resize shadow map.
Mr.doob 5 years ago
parent
commit
3974110aa0
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/renderers/webgl/WebGLShadowMap.js

+ 0 - 2
src/renderers/webgl/WebGLShadowMap.js

@@ -119,8 +119,6 @@ function WebGLShadowMap( _renderer, _objects, maxTextureSize ) {
 
 			if ( _shadowMapSize.x > maxTextureSize || _shadowMapSize.y > maxTextureSize ) {
 
-				console.warn( 'THREE.WebGLShadowMap:', light, 'has shadow exceeding max texture size, reducing' );
-
 				if ( _shadowMapSize.x > maxTextureSize ) {
 
 					_viewportSize.x = Math.floor( maxTextureSize / shadowFrameExtents.x );