Reversed distant object drawing order.
Reversed distant object drawing order.

Mountains are nearest, then clouds, then planets, then sun, then stars. Currently only mountains/clouds/sun are being rendered. The visible distant objects list should probably be sorted beforehand so the drawing function can just iterate straight through them.

afritz1/OpenTESArena