t().replace('EXPRESSION', compiledExpression)
    	});

      quad.material = shaderMaterial;
    }

    // When rendering, we just need to make sure our convenience variables are
    // up-to-date before we render.
    function render() {
      // If we're rendering video, update that.
      if(window.video && video.readyState === video.HAVE_ENOUGH_DATA )
    	{
    		videoImageContext.drawImage( video, 0, 0, videoImage.width, videoImage.height );
    		if ( videoTexture )
    			videoTexture.needsUpdate =