Your demo works here too.

I don't have the time to dive into the source. Nevertheless, I have a tip for you. Your terrain seems very pixelated. This is caused by the high-contrast of the texture and maybe by the fact that you didn't turn mipmapping on. You could have a look at that and improve the quality of your terrain.

Good luck!