 		}
 
 		// Sets the approximate size (in pixels) of the effect's internal buffers. Smaller number means lower
-		// quality and better performance.
+		// quality and better performance. This method recreates internal buffers (slow), do not call this on 
+		// every frame.
 		public function setBufferSize(size:uint):void {
 			_bufferSize = size;
 			_updateBuffers();

			addChild(_lightBmp);
		}

		// Sets the container's size (in pixels).
		public function setViewportSize(width:uint, height:uint):void {
			_viewportWidth = width;
			_viewportHeight = height;

			_bufferWidth  = Math.max(1, _bufferHeight * aspect);
			dispose();
			_emissionBmd  = new BitmapData(_bufferWidth, _bufferHeight, false, 0);
			_bufferBmd    = new BitmapData(_bufferWidth, _bufferHeight, false, 0);
			_occlusionBmd = new BitmapData(_bufferWidth, _bufferHeight, true, 0);
			_occlusionBmp = new Bitmap(_occlusionBmd);
		}
