whole_func_string: function animate() {
      // render
      controls.update();
  
      if (ready && modified) {
        renderer.render(sceneT, camera, rtTexture, true);
        renderer.render(scene, camera);
        modified = false;
      }
  
      stats.update();
  
      // request new frame
      requestAnimationFrame(function() {
        animate();
      });
    }
func_code_string: function animate() {
      // render
      controls.update();
  
      if (ready && modified) {
        renderer.render(sceneT, camera, rtTexture, true);
        renderer.render(scene, camera);
        modified = false;
      }
  
      stats.update();
  
      // request new frame
      requestAnimationFrame(function() {
        animate();
      });
    }
func_documentation_string: this function is executed on each animation frame