Planet atmosphere

Hello, how to get a smooth entry into the material like here?