Better would be to use two LDRs or phototransistors, with a "baffle" placed between them (or in tubes, as you suggest); this way, you could determine which direction to move. Then again, in the trivial example you will only be moving in one direction until end-of-day, but in a more complex scenario, with shadows, clouds, reflections, etc - you may want to be able to move in both directions (also, if you use four sensors, you can implement dual-axis control).