This post summarizes the results I obtained from developing a custom Cg/HLSL shader for use in Unity applications that renders the Earth. The shader implements real-time ray traced, atmospheric scattering from space, modeling a mathematical approximation of the aerial-perspective phenomenon based on the paper described in "GPU Pro 3", titled "An approximation to the Chapman … Continue reading Planetary Atmospheric Scattering