eclipse fixes

Couple of extra commits amending #1353.

One is a straight bugfix of a stupid bug introduced yesterday, which screwed up shadows on model bodies.

The other is to move the terrain shaders from vert to frag. Having them in vert was a misguided early decision, I now think. Having it as a pixel shader significantly improves the effect in many cases, and from my testing also slightly reduces processing costs.