pioneerspacesim/pioneer — pull request #1323 by Ae-2222 (2012-07-01 06:07:04+00:00)
Title: Issue: sending of direction vector in camera space to shader

I brought my old horizon fading branch up to date which fixes stars showing up brightly near the horizon at sunset.

It needs to send the up direction vector (the direction from center of planet to camera) in camera space to the shader. The up direction vector should stay fixed as the body/camera rotates. Currently it moves perfectly with the camera.

I would appreciate it if a graphics person could fix it.