Try to tidy up the eclipse shaders so they're a little more GLSL120 compliant in the hope that it'll make Tichy's open source AMD driver work. Totally blind.
Damn this is complicated.
Merge branch 'master' of git://github.com/pioneerspacesim/pioneer into simplfyEclipse
Just pick from the matrix rather than doing if tests
Pre-divide srad and lrad, pass them through as a uniform.
Pass the inverse (??? i.e. 1.0 / NUM_LIGHTS) value through as a #define to the shader to avoid calculating it per fragment. Means I can avoid two divides within some nested loops.
Oops, fix that last commit!
split shadowCentre into vectors of components
fix bad bracketing in atmos eclipse shader
apply eclipses to sunsets
Merge branch 'master' of git://github.com/pioneerspacesim/pioneer into simplfyEclipse

Conflicts:
	src/graphics/gl2/GeoSphereMaterial.cpp
Make the RenderData const, where required to change it for the blend masks use a copy.
SpaceStation.cpp - don't render the city OR the station if we're too far away.
ModelBody.cpp - reserve the vector for the number of lights.
CityOnPlanet.h/cpp - Remove the per building enabled flag, instead keep a list of the enabled buildings and only draw those. Also add a city wide m_clipRadius flag and test the whole city before trying to render buildings.
Reduce the amount of work the CityOnPlanet::Render method is doing per building.
Just added the PicoDDS library so far.
Merge branch 'master' of https://github.com/pioneerspacesim/pioneer into ProfileCities

Conflicts:
	src/scenegraph/Billboard.h
	src/scenegraph/Group.h
	src/scenegraph/LOD.h
	src/scenegraph/ModelNode.h
	src/scenegraph/Thruster.h
Compiling again.
Compiling and linking, loads the DDS textures.
Fails to run with an OpenGL error.
Still trying to work it out, in Release I just a fluorescent green ship.
In Debug I get GL_INVALID_VALUE but not sure where from.
Working, but hideous, DDS loading code.
1 stupid typo and forgetting to cap the mip chain.
Some tidying up, an extra assert, whitespace fixes.