In the last days I created an outdoor and an indoor version for the per pixel lighting and the normalmapping shader, added lights to the terrain shader, included a color transformation shader and implemented a script to generate a static shadow map for the terrain.

Here is a screenshot of those shadows: