pioneerspacesim/pioneer — pull request #2177 by zugz (2013-03-31 18:38:31+00:00)
Title: eclipse fixes

Couple of extra commits amending #1535.

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.