How do I make a compositor filter effect affect only a specific part of the render?
The mask was limiting the result of the sunbeam node to the doorway itself. You can multiply the mask against the image, then run that through sunbeam and add the result to the original image.