Smooth shadow around a sphere

Planets have lots of dusty microfacets. Consider using an Oren-Nayar shader model; it’ll give you the softer terminator you’re looking for. Just googling around I see this for example: https://github.com/Spectatr/webgl-shaders/blob/master/oren-nayar.html