I made atmospheric scattering shader based on O Neil paper, but it doesn’t work as it should.
When i close to it, it works fine.
When I move away from it, it gradually decreases and disappears.
Atmosphere changing size depending on camera position.
What exactly could be the problem?