code: function setupFrameBufferTexture ( framebuffer, renderTarget, attachment, textureTarget ) {
  
  		var glFormat = paramThreeToGL( renderTarget.texture.format );
  		var glType = paramThreeToGL( renderTarget.texture.type );
  		state.texImage2D( textureTarget, 0, glFormat, renderTarget.width, renderTarget.height, 0, glFormat, glType, null );
  		_gl.bindFramebuffer( _gl.FRAMEBUFFER, framebuffer );
  		_gl.framebufferTexture2D( _gl.FRAMEBUFFER, attachment, textureTarget, properties.get( renderTarget.texture ).__webglTexture, 0 );
  		_gl.bindFramebuffer( _gl.FRAMEBUFFER, null );
  
  	}
docs: Render targets Setup storage for target texture and bind it to correct framebuffer