Ooh, I like this! There is already a system in dnd for Sunlight Sensitivity. And, they have their clear, lightly obscured, and heavily obscured status for terrain and creatures. (This also might improve chances of races like Kobolds getting into the game!)