Real time atmospheric scattering shader -- Space view

you could multiply the result with 1 - dot product between view and surface normal. which would fade it out towards the sky. …at least i think it should.