LEDs with narrow optics on them! You could rig them to actually shine through pieces of rockwork to give a jagged edge to the shadow, and the light coming from them would be laminar enough to create the "shaft of light" look. And they're easy to dim. Or even put it on a tiny light rail and have it move through the day to give the illusion of the sun moving through the sky.