Explorar el Código

remove old warning

Guilherme Avila hace 5 años
padre
commit
7a0674cd1a
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  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;