@Mattn: I'll try to keep shader "varying" variables capitalized; I hadn't realized that was the style. With respect to the "convolution" shaders, you're correct that the current version only uses one of them. The others are there in case you want to play with the FILTER_SIZE macro; basically, using the larger filters gives better quality at the cost of performance. Actually, I think that probably the best way to do it would be to generate the shader code procedurally based on the FILTER_SIZE, which could possibly then be made into a user-changable option. I haven't done that yet, though, so I just included the extra shaders in case people wanted to try them out.
@Destructavator: Sorry about that; I hadn't realized that style of for-loop syntax was only introduced in C99. My compiler doesn't give me any sort of warnings at all, so I hadn't given it any thought. In the future, I'll be sure not to declare my counters in my loop statements.
Let me know if anyone runs into any other bugs or issues; in the mean time, I'll see if I can't do something about the sun specularity...