Shader renderer now obeys 'fog' settings on materials.

A little embarrassing that I didn't notice this before.  There's going
to be a lot more like this, I'm sure.  Also, I really should convert the
shader renderer over to using the vsShaderSuite class, instead of
manually managing them.

That's for a later commit, though.