Przeglądaj źródła

remove old warning

Guilherme Avila 5 lat temu
rodzic
commit
7a0674cd1a
1 zmienionych plików z 0 dodań i 4 usunięć
  1. 0 4
      src/renderers/webgl/WebGLTextures.js

+ 0 - 4
src/renderers/webgl/WebGLTextures.js

@@ -180,10 +180,6 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
 
 			extensions.get( 'EXT_color_buffer_float' );
 
-		} else if ( internalFormat === _gl.RGB16F || internalFormat === _gl.RGB32F ) {
-
-			console.warn( 'THREE.WebGLRenderer: Floating point textures with RGB format not supported. Please use RGBA instead.' );
-
 		}
 
 		return internalFormat;