options for lit/shadow mask

Hi

What options do I have to make something like the lit/shadow falloff map in 3ds max? So for example, I’d be able to use it as a mask for the lit and unlit hemispheres of a planet?
Would I need a different approach completely?