#atmospheric scattering
Working out a sky from the air instead of painting it. A ray is stepped through the atmosphere, and each step adds the sunlight its air sends towards the eye, less what is lost on the way from the sun to the step and from the step to the eye. Blue sky, red sunsets and the pale horizon all come out of that sum.
1 shader
