This effect was created using blender, the 3d Cylinder was given an emission shader, and then motion tracking was applied to the original plastic lightsaber. Once tracking was cleaned up, the top and bottom of the cylinder were attached to the trackers, and voilà! A little masking and motion blur, and here’s the final result.