You can either do it where the safe areas are just super dark, raytracing be damned, or you can do it where even if there is light, and you're clearly "visible" as long as you stay below a certain light level, everything is fine (Minecraft style, perhaps).
https://www.penny-arcade.com/comic/2013/08/16/innovationes