Rebuilding the Sun

The first Sun in Solar Time was a yellow texture with a glow around it. When I got close or watched it rise from Mars, I wanted to see more happening on the surface. That’s what started the Sun shader work for v0.85.

Eight stages of the Sun shader, from the upper left to the lower right.

Getting the glow right

One early experiment turned the Sun into a bright white disc. It had plenty of glare, but I could barely see the surface. I kept adjusting the glow, the flow of the texture, and the contrast until the surface shimmered and the edge faded more naturally into space.

Adding rays and rising arches

Tibi’s Realistic Sun gave me a starting point for the rays and arches. I adapted their color and motion to work with Solar Time’s own surface and soft glow. I went back and forth between the overview, the close-up, and sunrise from Mars to see how they looked. The distant view also draws fewer rays, so a tiny Sun takes less work to render. Tibi’s Realistic Sun