Hey!
If you don’t want to be bound by the sharpness of the mask functions, you could also:
- Render your game to an offscreen render target: Understanding Render Targets
- Render the “lights” similarly to yet another target.
- Do a final draw where you use both targets as textures, where you then decide how you want the lights to look, e.g. doing an arbitrary shader blend of the different samples.