Color of the Sky

Colour of the sky is a result of different scattering of light rays from the sun. For our image, we try to simulate the effects of Rayleigh scattering and Mie scattering to render the sky. We create our own atmosphere with scattering properties and compute the colour of the sky in this atmosphere using the raymarching algorithm. Apart from the scattering of rays from the sun, it also acts as a directional light source. The implementation can be found in rt/integrators/atmosphere.cpp